Fix for cloning quote
This commit is contained in:
parent
8df844ea26
commit
b5a9656e3d
1 changed files with 1 additions and 1 deletions
|
|
@ -852,7 +852,7 @@
|
|||
model.invoice().has_tasks(true);
|
||||
@endif
|
||||
|
||||
if(model.invoice().expenses() && !model.invoice().public_id()){
|
||||
if(model.invoice().expenses().length && !model.invoice().public_id()){
|
||||
model.expense_currency_id({{ isset($expenseCurrencyId) ? $expenseCurrencyId : 0 }});
|
||||
|
||||
// move the blank invoice line item to the end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue