Merge pull request #2415 from aspangaro/develop-patch16
NEW: Add bank account owner in invoice/proposal/orders footer
This commit is contained in:
commit
f0f0e7bfbb
@ -631,6 +631,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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user