From c53448da740810b7ecaa48a6ee76da98d53431aa Mon Sep 17 00:00:00 2001 From: Tiavina Date: Mon, 3 Feb 2025 18:17:33 +0300 Subject: [PATCH] client nom in multiple invoice not client entreprise --- gestion/lib/Service/InvoicePdfService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/lib/Service/InvoicePdfService.php b/gestion/lib/Service/InvoicePdfService.php index 3beef89..0ea8dd9 100644 --- a/gestion/lib/Service/InvoicePdfService.php +++ b/gestion/lib/Service/InvoicePdfService.php @@ -141,7 +141,7 @@ class InvoicePdfService { $pdf->MutlipleInvoicePdfFactory($invoiceData,$logo); $pdf->SetMultipleFactureContent(); $racinePath = html_entity_decode(string: $currentConfig->path).'/'; - $clientRacineFolder = $racinePath.'CLIENTS/'.mb_strtoupper($invoiceData[0]["client_entreprise"],'UTF-8').'/'; + $clientRacineFolder = $racinePath.'CLIENTS/'.mb_strtoupper($invoiceData[0]["client_nom"],'UTF-8').'/'; $filename = $currentConfig->facture_prefixe.'_'.$pdf->GetMultipleInvoiceFilename($month,$year); $filenamePath = $clientRacineFolder.$filename.'.pdf'; $pdfContent = $pdf->Output('','S');