diff --git a/htdocs/accountancy/closure/index.php b/htdocs/accountancy/closure/index.php index 2727feef758..43f9179c599 100644 --- a/htdocs/accountancy/closure/index.php +++ b/htdocs/accountancy/closure/index.php @@ -127,11 +127,11 @@ if (empty($reshook)) { if ($generate_bookkeeping_records) { if (!getDolGlobalString('ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_BALANCE_SHEET_ACCOUNT')) { $error++; - setEventMessages($langs->trans("ErrorSetupNotComplete"), null, 'errors'); + setEventMessages($langs->trans("ErrorModuleSetupNotComplete"), null, 'errors'); } if (!getDolGlobalString('ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_INCOME_STATEMENT')) { $error++; - setEventMessages($langs->trans("ErrorSetupNotComplete"), null, 'errors'); + setEventMessages($langs->trans("ErrorModuleSetupNotComplete"), null, 'errors'); } } diff --git a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php index e6eb38ee612..026b03ad970 100644 --- a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php @@ -2175,7 +2175,7 @@ class pdf_crabe extends ModelePDFFactures if (!empty($carac_client_shipping)) { $posy += $hautcadre; - $hautcadre = $hautcadre - 10; // Height for the shipping address does not need to be as high as main box + $hautcadre -= 10; // Height for the shipping address does not need to be as high as main box // Show shipping frame $pdf->SetXY($posx + 2, $posy - 5);