Fix phpcs
This commit is contained in:
parent
97f6efb079
commit
250b42f60a
@ -1595,8 +1595,8 @@ class pdf_eratosthene extends ModelePDFCommandes
|
||||
|
||||
$hautcadre = !empty($conf->global->MAIN_PDF_USE_ISO_LOCATION) ? 38 : 40;
|
||||
$widthrecbox = !empty($conf->global->MAIN_PDF_USE_ISO_LOCATION) ? 92 : 82;
|
||||
|
||||
|
||||
|
||||
|
||||
// Show sender frame
|
||||
$pdf->SetTextColor(0, 0, 0);
|
||||
$pdf->SetFont('', '', $default_font_size - 2);
|
||||
|
||||
@ -682,7 +682,7 @@ class pdf_sponge extends ModelePDFFactures
|
||||
}
|
||||
|
||||
$nexY = max($pdf->GetY(), $posYAfterImage, $posYAfterDescription);
|
||||
|
||||
|
||||
$pageposafter = $pdf->getPage();
|
||||
$pdf->setPage($pageposbefore);
|
||||
$pdf->setTopMargin($this->marge_haute);
|
||||
|
||||
@ -518,7 +518,7 @@ if ($search_status)
|
||||
elseif ($search_status == '3,4') $title .= ' - '.$langs->trans("SuppliersOrdersAwaitingReception");
|
||||
elseif ($search_status == '1,2,3') $title .= ' - '.$langs->trans("StatusOrderToProcessShort");
|
||||
elseif ($search_status == '6,7') $title .= ' - '.$langs->trans("StatusOrderCanceled");
|
||||
elseif(is_numeric($search_status)) $title .= ' - '.$commandestatic->LibStatut($search_status);
|
||||
elseif (is_numeric($search_status)) $title .= ' - '.$commandestatic->LibStatut($search_status);
|
||||
}
|
||||
if ($search_billed > 0) $title .= ' - '.$langs->trans("Billed");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user