[minor] primary action
This commit is contained in:
parent
995185d02d
commit
69ccf9695c
@ -14,8 +14,8 @@ $.extend(cur_frm.cscript, {
|
||||
this.frm.toggle_enable('year_end_date', doc.__islocal)
|
||||
|
||||
if (!doc.__islocal && (doc.name != sys_defaults.fiscal_year)) {
|
||||
this.frm.add_custom_button('<i class="icon-star"></i> ' + __("Set as Default"),
|
||||
this.frm.cscript.set_as_default);
|
||||
this.frm.add_custom_button(__("Set as Default"),
|
||||
this.frm.cscript.set_as_default, "icon-star");
|
||||
this.frm.set_intro(__("To set this Fiscal Year as Default, click on 'Set as Default'"));
|
||||
} else {
|
||||
this.frm.set_intro("");
|
||||
|
@ -47,13 +47,13 @@ frappe.query_reports["Trial Balance"] = {
|
||||
},
|
||||
{
|
||||
"fieldname": "with_period_closing_entry",
|
||||
"label": __("With Period Closing Entry"),
|
||||
"label": __("Period Closing Entry"),
|
||||
"fieldtype": "Check",
|
||||
"default": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "show_zero_values",
|
||||
"label": __("Show rows with zero values"),
|
||||
"label": __("Show zero values"),
|
||||
"fieldtype": "Check"
|
||||
},
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user