mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
[fix] primary button color for make
This commit is contained in:
@@ -26,8 +26,7 @@ erpnext.support.WarrantyClaim = frappe.ui.form.Controller.extend({
|
||||
if(!cur_frm.doc.__islocal &&
|
||||
(cur_frm.doc.status=='Open' || cur_frm.doc.status == 'Work In Progress')) {
|
||||
cur_frm.add_custom_button(__('Maintenance Visit'),
|
||||
this.make_maintenance_visit, __("Make"))
|
||||
cur_frm.page.set_inner_btn_group_as_primary(__("Make"));
|
||||
this.make_maintenance_visit);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user