chore: clean up hooks

This commit is contained in:
Deepesh Garg
2022-04-28 12:02:54 +05:30
parent 41e2959389
commit 60b693f84f
15 changed files with 10 additions and 774 deletions

View File

@@ -23,7 +23,6 @@ erpnext.setup.slides_settings = [
fieldtype: 'MultiCheck',
options: [
{ "label": __("Distribution"), "value": "Distribution" },
{ "label": __("Education"), "value": "Education" },
{ "label": __("Manufacturing"), "value": "Manufacturing" },
{ "label": __("Retail"), "value": "Retail" },
{ "label": __("Services"), "value": "Services" },
@@ -59,15 +58,13 @@ erpnext.setup.slides_settings = [
},
{
fieldname: 'company_name',
label: frappe.setup.domains.includes('Education') ?
__('Institute Name') : __('Company Name'),
label: __('Company Name'),
fieldtype: 'Data',
reqd: 1
},
{
fieldname: 'company_abbr',
label: frappe.setup.domains.includes('Education') ?
__('Institute Abbreviation') : __('Company Abbreviation'),
label: __('Company Abbreviation'),
fieldtype: 'Data'
}
],
@@ -107,17 +104,12 @@ erpnext.setup.slides_settings = [
name: 'organisation',
title: __("Your Organization"),
icon: "fa fa-building",
// help: frappe.setup.domains.includes('Education') ?
// __('The name of the institute for which you are setting up this system.') :
// __('The name of your company for which you are setting up this system.')),
fields: [
{
fieldname: 'company_tagline',
label: __('What does it do?'),
fieldtype: 'Data',
placeholder: frappe.setup.domains.includes('Education') ?
__('e.g. "Primary School" or "University"') :
__('e.g. "Build tools for builders"'),
placeholder: __('e.g. "Build tools for builders"'),
reqd: 1
},
{ fieldname: 'bank_account', label: __('Bank Name'), fieldtype: 'Data', reqd: 1 },