mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Merge pull request #4048 from oliverpool/clone_fix_rate
Preserve tax rates on cloning
This commit is contained in:
commit
7edc1fb195
@ -907,7 +907,7 @@
|
||||
model.invoice().addItem(); // add blank item
|
||||
@else
|
||||
// set the default account tax rate
|
||||
@if ($account->invoice_taxes)
|
||||
@if ($account->invoice_taxes && empty($invoice->tax_name1) && empty($invoice->tax_name2))
|
||||
@if (! empty($account->tax_name1))
|
||||
model.invoice().tax_rate1("{{ $account->tax_rate1 }}");
|
||||
model.invoice().tax_name1({!! json_encode($account->tax_name1) !!});
|
||||
|
Loading…
Reference in New Issue
Block a user