style: format
diff --git a/erpnext/stock/doctype/warehouse/warehouse.js b/erpnext/stock/doctype/warehouse/warehouse.js
index c902abf..d69c624 100644
--- a/erpnext/stock/doctype/warehouse/warehouse.js
+++ b/erpnext/stock/doctype/warehouse/warehouse.js
@@ -61,13 +61,16 @@
);
if (!frm.doc.is_group && frm.doc.__onload && frm.doc.__onload.account) {
- frm.add_custom_button(__("General Ledger", null, "Warehouse"), function () {
- frappe.route_options = {
- account: frm.doc.__onload.account,
- company: frm.doc.company,
- };
- frappe.set_route("query-report", "General Ledger");
- });
+ frm.add_custom_button(
+ __("General Ledger", null, "Warehouse"),
+ function () {
+ frappe.route_options = {
+ account: frm.doc.__onload.account,
+ company: frm.doc.company,
+ };
+ frappe.set_route("query-report", "General Ledger");
+ }
+ );
}
frm.toggle_enable(["is_group", "company"], false);