Fix phpcs

This commit is contained in:
Laurent Destailleur 2020-11-27 00:37:36 +01:00
parent 97f6efb079
commit 250b42f60a
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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