Merge pull request #4048 from oliverpool/clone_fix_rate
Preserve tax rates on cloning
This commit is contained in:
commit
7edc1fb195
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue