mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Update pdf.lib.php
If bank account is empty, not print "Bank" and "Account"
This commit is contained in:
parent
3d28163c2e
commit
0f661175be
|
|
@ -925,7 +925,7 @@ function pdf_bank(&$pdf, $outputlangs, $curx, $cury, $account, $onlynumber = 0,
|
|||
$curx = $savcurx;
|
||||
$cury += 8;
|
||||
}
|
||||
} else {
|
||||
} elseif (!empty($account->number)){
|
||||
$pdf->SetFont('', 'B', $default_font_size - $diffsizecontent);
|
||||
$pdf->SetXY($curx, $cury);
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("Bank").': '.$outputlangs->convToOutputCharset($account->bank), 0, 'L', 0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user