Update work_order.js

This commit is contained in:
rohitwaghchaure 2019-11-14 15:26:18 +05:30 committed by GitHub
parent 4d27b50437
commit e942f99897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -540,7 +540,7 @@ erpnext.work_order = {
calculate_total_cost: function(frm) {
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) {