1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

Minor fixes

This commit is contained in:
David Bomba 2024-09-10 14:47:29 +10:00
parent 4d72a312d6
commit 305e3daeb4

View File

@ -430,7 +430,7 @@ class BaseDriver extends AbstractPaymentDriver
$invoice_item->quantity = 1;
$invoice_item->cost = (float)$fee_total;
$invoice_items = (array) $invoice->line_items;
$invoice_items = $invoice->line_items;
$invoice_items[] = $invoice_item;
if (isset($data['gateway_type_id']) && $fees_and_limits = $this->company_gateway->getFeesAndLimits($data['gateway_type_id'])) {