forked from Wavyzz/dolibarr
NEW: Add bank account owner in invoice/proposal/orders footer
This commit is contained in:
@@ -628,6 +628,16 @@ function pdf_bank(&$pdf,$outputlangs,$curx,$cury,$account,$onlynumber=0,$default
|
|||||||
$tmpy=$pdf->getStringHeight(100, $val);
|
$tmpy=$pdf->getStringHeight(100, $val);
|
||||||
$cury+=$tmpy;
|
$cury+=$tmpy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! empty($account->proprio))
|
||||||
|
{
|
||||||
|
$pdf->SetXY($curx, $cury);
|
||||||
|
$val=$outputlangs->transnoentities("BankAccountOwner").': ' . $outputlangs->convToOutputCharset($account->proprio);
|
||||||
|
$pdf->MultiCell(100, 3, $val, 0, 'L', 0);
|
||||||
|
$tmpy=$pdf->getStringHeight(100, $val);
|
||||||
|
$cury+=$tmpy;
|
||||||
|
}
|
||||||
|
|
||||||
else if (! $usedetailedbban) $cury+=1;
|
else if (! $usedetailedbban) $cury+=1;
|
||||||
|
|
||||||
// Use correct name of bank id according to country
|
// Use correct name of bank id according to country
|
||||||
|
|||||||
Reference in New Issue
Block a user