mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
Minor fixes for sub calculator
This commit is contained in:
parent
e3e19208a4
commit
706133bd7b
@ -83,7 +83,7 @@ class SubscriptionCalculator
|
||||
$line_item->quantity = (float) $item['quantity'];
|
||||
$line_item->cost = (float) $item['product']['price'];
|
||||
$line_item->notes = $item['product']['notes'];
|
||||
|
||||
$line_item->tax_id = $item['product']['tax_id'] ?? '1';
|
||||
$items[] = $line_item;
|
||||
|
||||
}
|
||||
@ -99,7 +99,7 @@ class SubscriptionCalculator
|
||||
$line_item->quantity = (float) $item['quantity'];
|
||||
$line_item->cost = (float) $item['product']['price'];
|
||||
$line_item->notes = $item['product']['notes'];
|
||||
|
||||
$line_item->tax_id = $item['product']['tax_id'] ?? '1';
|
||||
$items[] = $line_item;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user