1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Adjustments for types

This commit is contained in:
David Bomba 2024-08-14 08:34:57 +10:00
parent 47c5498fbe
commit 645aca9f63
2 changed files with 2 additions and 2 deletions

View File

@ -433,7 +433,7 @@ class BaseDriver extends AbstractPaymentDriver
$invoice_item->tax_name2 = $fees_and_limits->fee_tax_name2;
$invoice_item->tax_rate3 = $fees_and_limits->fee_tax_rate3;
$invoice_item->tax_name3 = $fees_and_limits->fee_tax_name3;
$invoice_item->tax_id = \App\Models\Product::PRODUCT_TYPE_OVERRIDE_TAX;
$invoice_item->tax_id = (string)\App\Models\Product::PRODUCT_TYPE_OVERRIDE_TAX;
}
$invoice->line_items = $invoice_items;

View File

@ -81,7 +81,7 @@ class AddGatewayFee extends AbstractService
$invoice_item->tax_name2 = $fees_and_limits->fee_tax_name2;
$invoice_item->tax_rate3 = $fees_and_limits->fee_tax_rate3;
$invoice_item->tax_name3 = $fees_and_limits->fee_tax_name3;
$invoice_item->tax_id = Product::PRODUCT_TYPE_OVERRIDE_TAX;
$invoice_item->tax_id = (string)Product::PRODUCT_TYPE_OVERRIDE_TAX;
}
$invoice_items = (array) $this->invoice->line_items;