Fixing style errors.

This commit is contained in:
stickler-ci 2021-10-17 23:52:24 +00:00
parent 074b5589bd
commit 4c5e959911
2 changed files with 1 additions and 2 deletions

View File

@ -826,7 +826,7 @@ class pdf_standard extends ModelePDFSuppliersPayments
$iban = $obj->iban_prefix; $iban = $obj->iban_prefix;
} }
if(!empty($iban)) { if (!empty($iban)) {
$pdf->SetFont('', '', $default_font_size - 1); $pdf->SetFont('', '', $default_font_size - 1);
$pdf->SetXY($posx + 2, $posy + 15); $pdf->SetXY($posx + 2, $posy + 15);
$pdf->MultiCell($widthrecbox, 4, $langs->trans("IBAN").': '.$iban, 0, 'L'); $pdf->MultiCell($widthrecbox, 4, $langs->trans("IBAN").': '.$iban, 0, 'L');

View File

@ -411,7 +411,6 @@ if ($result > 0) {
$trackid = 'pre'.$object->id; $trackid = 'pre'.$object->id;
include DOL_DOCUMENT_ROOT.'/core/tpl/card_presend.tpl.php'; include DOL_DOCUMENT_ROOT.'/core/tpl/card_presend.tpl.php';
} else { } else {
$langs->load("errors"); $langs->load("errors");
print $langs->trans("ErrorRecordNotFound"); print $langs->trans("ErrorRecordNotFound");