mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for setting price when selecting product
This commit is contained in:
parent
0fbe83eaaf
commit
c3189527c4
@ -1045,7 +1045,7 @@ ko.bindingHandlers.productTypeahead = {
|
||||
model.notes(datum.notes);
|
||||
}
|
||||
if (parseFloat(datum.cost)) {
|
||||
if (! model.cost() || ! model.task_public_id()) {
|
||||
if (! NINJA.parseFloat(model.cost()) || ! model.task_public_id()) {
|
||||
var cost = datum.cost;
|
||||
|
||||
// optionally handle curency conversion
|
||||
|
Loading…
x
Reference in New Issue
Block a user