mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Minor fix
This commit is contained in:
parent
b1be93828a
commit
d5bb25fb35
@ -194,7 +194,7 @@ class CreateXInvoice implements ShouldQueue
|
||||
$xrechnung->addDocumentTax("S", "VAT", $taxnet_2, $taxamount_2, $invoice->tax_rate2);
|
||||
}
|
||||
if ($taxnet_3 > 0) {
|
||||
$xrechnung->addDocumentTax("CS", "VAT", $taxnet_3, $taxamount_3, $invoice->tax_rate3);
|
||||
$xrechnung->addDocumentTax("S", "VAT", $taxnet_3, $taxamount_3, $invoice->tax_rate3);
|
||||
}
|
||||
$xrechnung->writeFile(explode(".", $client->invoice_filepath($invoice->invitations->first()))[0] . "-xinvoice.xml");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user