Parcourir la source

add reason to reclamation act

Alexander Musikhin il y a 1 mois
Parent
commit
08ec4cfc80
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Services/GenerateDocumentsService.php

+ 1 - 1
app/Services/GenerateDocumentsService.php

@@ -539,7 +539,7 @@ class GenerateDocumentsService
 
         $sheet->setCellValue('A17', $reclamation->order->object_address);
         $sheet->setCellValue('A22', implode('; ', $mafs));
-        $sheet->setCellValue('A27', $reclamation->whats_done);
+        $sheet->setCellValue('A27', $reclamation->whats_done . ' (' . $reclamation->reason . ')');
 
         $i = 24;
         $n = 1;