mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 17:15:04 +00:00
feat: bill all hours by default
This commit is contained in:
@@ -206,6 +206,9 @@ frappe.ui.form.on("Timesheet Detail", {
|
||||
update_billing_hours(frm, cdt, cdn);
|
||||
update_time_rates(frm, cdt, cdn);
|
||||
calculate_billing_costing_amount(frm, cdt, cdn);
|
||||
|
||||
// bill all `hours` by default
|
||||
frappe.model.set_value(cdt, cdn, "billing_hours", locals[cdt][cdn].hours);
|
||||
},
|
||||
|
||||
activity_type: function(frm, cdt, cdn) {
|
||||
|
||||
Reference in New Issue
Block a user