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

Fix for buy now taxes

This commit is contained in:
Hillel Coren 2017-08-02 18:03:23 +03:00
parent 4b31527457
commit 51c336e3ff

View File

@ -363,10 +363,10 @@ class OnlinePaymentController extends BaseController
'notes' => $product->notes,
'cost' => $product->cost,
'qty' => 1,
'tax_rate1' => $account->tax_rate1,
'tax_name1' => $account->tax_name1 ?: '',
'tax_rate2' => $account->tax_rate2,
'tax_name2' => $account->tax_name2 ?: '',
'tax_rate1' => $product->tax_rate1,
'tax_name1' => $product->tax_name1 ?: '',
'tax_rate2' => $product->tax_rate2,
'tax_name2' => $product->tax_name2 ?: '',
'custom_value1' => Input::get('custom_product1') ?: $product->custom_value1,
'custom_value2' => Input::get('custom_product2') ?: $product->custom_value2,
]],