mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-13 15:42:55 +09:00
add company VAT, number and account fields to invoice pdf
This commit is contained in:
1 parent
486f5079b7
commit
fbd9b82528
1 file changed
+5
@@ -1333,6 +1333,9 @@ class Service implements InjectionAwareInterface
|
||||
|
||||
$company_info = __("Name: ") . $invoice['seller']['company'] . "\n" .
|
||||
__("Address: ") . $invoice['seller']['address'] . "\n" .
|
||||
__("Company VAT: ") . $invoice['seller']['company_vat'] . "\n" .
|
||||
__("Company number: ") . $invoice['seller']['company_number'] . "\n" .
|
||||
__("Account: ") . $invoice['seller']['account_number'] . "\n" .
|
||||
__("Phone: ") . $invoice['seller']['phone'] . "\n" .
|
||||
__("Email: ") . $invoice['seller']['email'];
|
||||
$pdf->SetFont('DejaVu', 'B', $font_size);
|
||||
@@ -1344,6 +1347,8 @@ class Service implements InjectionAwareInterface
|
||||
$buyer_info = __("Name: ") . $invoice['buyer']['first_name'] . $invoice['buyer']['last_name'] . "\n" .
|
||||
__("Company: ") . $invoice['buyer']['company'] . "\n" .
|
||||
__("Address: ") . $invoice['buyer']['address'] . "\n" .
|
||||
__("Company VAT: ") . $invoice['seller']['company_vat'] . "\n" .
|
||||
__("Company number: ") . $invoice['seller']['company_number'] . "\n" .
|
||||
__("Phone: ") . $invoice['buyer']['phone'];
|
||||
$pdf->SetFont('DejaVu', 'B', $font_size);
|
||||
$pdf->text(145, 75, __("Billing and delivery address"));
|
||||
|
||||
Reference in new issue
Block a user