mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Do not update taxes in products
This commit is contained in:
parent
a8103fc6a3
commit
3066379ff8
@ -106,12 +106,12 @@ class UpdateOrCreateProduct implements ShouldQueue
|
||||
$product->quantity = isset($item->quantity) ? $item->quantity : 0;
|
||||
}
|
||||
|
||||
$product->tax_name1 = isset($item->tax_name1) ? $item->tax_name1 : '';
|
||||
$product->tax_rate1 = isset($item->tax_rate1) ? $item->tax_rate1 : 0;
|
||||
$product->tax_name2 = isset($item->tax_name2) ? $item->tax_name2 : '';
|
||||
$product->tax_rate2 = isset($item->tax_rate2) ? $item->tax_rate2 : 0;
|
||||
$product->tax_name3 = isset($item->tax_name3) ? $item->tax_name3 : '';
|
||||
$product->tax_rate3 = isset($item->tax_rate3) ? $item->tax_rate3 : 0;
|
||||
// $product->tax_name1 = isset($item->tax_name1) ? $item->tax_name1 : '';
|
||||
// $product->tax_rate1 = isset($item->tax_rate1) ? $item->tax_rate1 : 0;
|
||||
// $product->tax_name2 = isset($item->tax_name2) ? $item->tax_name2 : '';
|
||||
// $product->tax_rate2 = isset($item->tax_rate2) ? $item->tax_rate2 : 0;
|
||||
// $product->tax_name3 = isset($item->tax_name3) ? $item->tax_name3 : '';
|
||||
// $product->tax_rate3 = isset($item->tax_rate3) ? $item->tax_rate3 : 0;
|
||||
|
||||
if (isset($item->custom_value1) && strlen($item->custom_value1) >=1) {
|
||||
$product->custom_value1 = $item->custom_value1;
|
||||
|
Loading…
Reference in New Issue
Block a user