mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +00:00
Merge pull request #3146 from neilLasrado/project
FIxes - Time Log Hours calculation
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "hour_rate",
|
"fieldname": "hour_rate",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Float",
|
||||||
"in_list_view": 0,
|
"in_list_view": 0,
|
||||||
"label": "Hour Rate",
|
"label": "Hour Rate",
|
||||||
"oldfieldname": "hour_rate",
|
"oldfieldname": "hour_rate",
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
],
|
],
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"modified": "2015-04-21 07:11:38.730014",
|
"modified": "2015-04-22 03:24:47.809532",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Manufacturing",
|
"module": "Manufacturing",
|
||||||
"name": "BOM Operation",
|
"name": "BOM Operation",
|
||||||
|
|||||||
@@ -194,7 +194,7 @@
|
|||||||
{
|
{
|
||||||
"allow_on_submit": 0,
|
"allow_on_submit": 0,
|
||||||
"fieldname": "hour_rate",
|
"fieldname": "hour_rate",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Float",
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
"ignore_user_permissions": 0,
|
"ignore_user_permissions": 0,
|
||||||
"in_filter": 0,
|
"in_filter": 0,
|
||||||
@@ -293,7 +293,7 @@
|
|||||||
"is_submittable": 0,
|
"is_submittable": 0,
|
||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"modified": "2015-04-21 07:10:43.341203",
|
"modified": "2015-04-22 03:25:18.542350",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Manufacturing",
|
"module": "Manufacturing",
|
||||||
"name": "Production Order Operation",
|
"name": "Production Order Operation",
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ frappe.ui.form.on("Time Log", "onload", function(frm) {
|
|||||||
if (frm.doc.for_manufacturing) {
|
if (frm.doc.for_manufacturing) {
|
||||||
frappe.ui.form.trigger("Time Log", "production_order");
|
frappe.ui.form.trigger("Time Log", "production_order");
|
||||||
}
|
}
|
||||||
|
if (frm.doc.from_time && frm.doc.to_time) {
|
||||||
|
frappe.ui.form.trigger("Time Log", "to_time");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
frappe.ui.form.on("Time Log", "refresh", function(frm) {
|
frappe.ui.form.on("Time Log", "refresh", function(frm) {
|
||||||
|
|||||||
Reference in New Issue
Block a user