Update work_order.js
This commit is contained in:
parent
4d27b50437
commit
e942f99897
@ -540,7 +540,7 @@ erpnext.work_order = {
|
|||||||
|
|
||||||
calculate_total_cost: function(frm) {
|
calculate_total_cost: function(frm) {
|
||||||
let variable_cost = flt(frm.doc.actual_operating_cost) || flt(frm.doc.planned_operating_cost);
|
let variable_cost = flt(frm.doc.actual_operating_cost) || flt(frm.doc.planned_operating_cost);
|
||||||
frm.set_value("total_operating_cost", (flt(frm.doc.additional_operating_cost) + variable_cost))
|
frm.set_value("total_operating_cost", (flt(frm.doc.additional_operating_cost) + variable_cost));
|
||||||
},
|
},
|
||||||
|
|
||||||
set_default_warehouse: function(frm) {
|
set_default_warehouse: function(frm) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user