fix phan branch 20.0 (#31133)
* fix phan branch 20.0 * Update index.php
This commit is contained in:
parent
7d0978065a
commit
184589dbc0
2 changed files with 3 additions and 3 deletions
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue