mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 11:04:41 -04:00
Fix for cloning quote
This commit is contained in:
parent
8df844ea26
commit
b5a9656e3d
@ -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…
x
Reference in New Issue
Block a user