brotherton-erpnext/erpnext/public/js/utils/demo.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
293 B
JavaScript
Raw Normal View History

$(document).on("toolbar_setup", function() {
if (erpnext.is_demo_company_setup) {
console.log("setup");
}
});
erpnext.is_demo_company_setup = function() {
frappe.db.get_value("Global Default", "Global Default", "demo_company", function(r) {
console.log(r);
});
};