Drop hardcoded rows from confirm screen

Country / Currency / Timezone / Chart of Accounts are fixed for every
AZ install and show no user-editable information — just noise on the
final review. Still passed to setup_complete unchanged; only the UI row
is gone.
This commit is contained in:
Ali 2026-04-24 12:46:47 +00:00
parent e401eb1210
commit db43231927
2 changed files with 2 additions and 6 deletions

View File

@ -1 +1 @@
__version__ = "0.1.1" __version__ = "0.1.2"

View File

@ -10,7 +10,7 @@ frappe.provide("jey_wizard");
// Bump this string in every commit that changes wizard code. Displayed in the badge so // Bump this string in every commit that changes wizard code. Displayed in the badge so
// we can tell at a glance which version is actually running on a given machine. Kept in // we can tell at a glance which version is actually running on a given machine. Kept in
// sync with __version__ in jey_wizard/__init__.py. // sync with __version__ in jey_wizard/__init__.py.
const JEY_WIZARD_VERSION = "0.1.1"; const JEY_WIZARD_VERSION = "0.1.2";
// Wipe Frappe + ERPNext default slides so their `before_load`/`after_load` listeners // Wipe Frappe + ERPNext default slides so their `before_load`/`after_load` listeners
// don't try to mutate a wizard that isn't slide-based anymore. // don't try to mutate a wizard that isn't slide-based anymore.
@ -423,10 +423,6 @@ frappe.setup.SetupWizard = class JeySetupWizard {
: ""} : ""}
<li><b>${__("Fiscal Year")}:</b> ${frappe.utils.escape_html(this.data.fy_start_date)} ${frappe.utils.escape_html(this.data.fy_end_date)}</li> <li><b>${__("Fiscal Year")}:</b> ${frappe.utils.escape_html(this.data.fy_start_date)} ${frappe.utils.escape_html(this.data.fy_end_date)}</li>
<li><b>${__("ƏMAS employees")}:</b> ${empRow}</li> <li><b>${__("ƏMAS employees")}:</b> ${empRow}</li>
<li><b>${__("Country")}:</b> Azerbaijan <i>(${__("hardcoded")})</i></li>
<li><b>${__("Currency")}:</b> AZN <i>(${__("hardcoded")})</i></li>
<li><b>${__("Timezone")}:</b> Asia/Baku <i>(${__("hardcoded")})</i></li>
<li><b>${__("Chart of Accounts")}:</b> Azerbaijan Republic <i>(${__("hardcoded")})</i></li>
</ul> </ul>
`); `);
} }