fix phan branch 20.0 (#31133)

* fix phan branch 20.0

* Update index.php
This commit is contained in:
Frédéric FRANCE 2024-09-26 17:18:55 +02:00 committed by GitHub
parent 7d0978065a
commit 184589dbc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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');
}
}

View file

@ -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);