diff --git a/models/doctype/PrintSettings/PrintSettings.js b/models/doctype/PrintSettings/PrintSettings.js index 735f228c..665b7efa 100644 --- a/models/doctype/PrintSettings/PrintSettings.js +++ b/models/doctype/PrintSettings/PrintSettings.js @@ -43,7 +43,7 @@ module.exports = { fieldname: 'gstin', label: 'GSTIN', fieldtype: 'Data', - placeholder: '27AAAAA0000A1Z5', + placeholder: '27AAAAA0000A1Z5' }, { fieldname: 'template', diff --git a/models/doctype/SetupWizard/SetupWizard.js b/models/doctype/SetupWizard/SetupWizard.js index 1f1d55f6..4b2db6d5 100644 --- a/models/doctype/SetupWizard/SetupWizard.js +++ b/models/doctype/SetupWizard/SetupWizard.js @@ -10,6 +10,11 @@ module.exports = { settings: null, keywordFields: [], fields: [ + { + fieldname: 'companyLogo', + label: 'Company Logo', + fieldtype: 'AttachImage' + }, { fieldname: 'country', label: 'Country', @@ -21,7 +26,7 @@ module.exports = { { fieldname: 'fullname', - label: 'Name', + label: 'Your Name', fieldtype: 'Data', placeholder: 'John Doe', required: 1 @@ -39,7 +44,7 @@ module.exports = { { fieldname: 'companyName', label: 'Company Name', - placeholder: 'Acme Inc', + placeholder: 'Company Name', fieldtype: 'Data', required: 1 }, @@ -107,50 +112,10 @@ module.exports = { ], quickEditFields: [ 'fullname', - 'email', - 'companyName', 'bankName', 'country', 'currency', 'fiscalYearStart', 'fiscalYearEnd' - ], - - layout: { - paginated: true, - sections: [ - { - title: 'Select Country', - columns: [ - { - fields: ['country'] - } - ] - }, - - { - title: 'Add a Profile', - columns: [ - { - fields: ['fullname', 'email'] - } - ] - }, - - { - title: 'Add your Company', - columns: [ - { - fields: [ - 'companyName', - 'bankName', - 'currency', - 'fiscalYearStart', - 'fiscalYearEnd' - ] - } - ] - } - ].filter(Boolean) - } + ] }; diff --git a/src/components/Button.vue b/src/components/Button.vue index 556ffbf5..5d1f2624 100644 --- a/src/components/Button.vue +++ b/src/components/Button.vue @@ -2,6 +2,7 @@ @@ -19,6 +55,8 @@