mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:04:30 -04:00
Don’t set qty to 1 when selecting task item on invoice form
This commit is contained in:
parent
3a23fabcda
commit
a1793753ea
@ -1022,7 +1022,7 @@ ko.bindingHandlers.productTypeahead = {
|
||||
model.cost(roundSignificant(datum.cost, true));
|
||||
}
|
||||
}
|
||||
if (!model.qty()) {
|
||||
if (!model.qty() && ! model.task_public_id()) {
|
||||
model.qty(1);
|
||||
}
|
||||
@if ($account->invoice_item_taxes)
|
||||
|
Loading…
x
Reference in New Issue
Block a user