diff --git a/app/Repositories/Shop/InvoicePDF.php b/app/Repositories/Shop/InvoicePDF.php index b66685a6..5fbe8902 100644 --- a/app/Repositories/Shop/InvoicePDF.php +++ b/app/Repositories/Shop/InvoicePDF.php @@ -19,7 +19,7 @@ class InvoicePDF $invoice = Invoices::getFull($id); $customFields = []; if ($orderRef = optional($invoice->order)->ref) { - $customFields['order number'] = $orderRef; + $customFields['Numéro de commande'] = $orderRef; } $customer = new Party([ @@ -61,7 +61,7 @@ class InvoicePDF trim(($address->zipcode ?? '').' '.($address->city ?? '')), ]); - return implode('
', $lines); + return implode("\n", $lines); } public static function makeItems($details)