diff --git a/accounts/page/financial_analytics/financial_analytics.js b/accounts/page/financial_analytics/financial_analytics.js index 20632deea9..1db9434808 100644 --- a/accounts/page/financial_analytics/financial_analytics.js +++ b/accounts/page/financial_analytics/financial_analytics.js @@ -14,6 +14,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +wn.require("lib/js/wn/views/grid_report.js"); wn.require("app/js/account_tree_grid.js"); wn.pages['financial-analytics'].onload = function(wrapper) { diff --git a/accounts/page/general_ledger/general_ledger.js b/accounts/page/general_ledger/general_ledger.js index c8866fcfd5..b7645eca72 100644 --- a/accounts/page/general_ledger/general_ledger.js +++ b/accounts/page/general_ledger/general_ledger.js @@ -25,6 +25,8 @@ wn.pages['general-ledger'].onload = function(wrapper) { } +wn.require("lib/js/wn/views/grid_report.js"); + erpnext.GeneralLedger = wn.views.GridReport.extend({ init: function(wrapper) { this._super({ diff --git a/accounts/page/trial_balance/trial_balance.js b/accounts/page/trial_balance/trial_balance.js index 3504ae0c98..3ecfba75c1 100644 --- a/accounts/page/trial_balance/trial_balance.js +++ b/accounts/page/trial_balance/trial_balance.js @@ -14,6 +14,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +wn.require("lib/js/wn/views/grid_report.js"); wn.require("app/js/account_tree_grid.js"); wn.pages['trial-balance'].onload = function(wrapper) { diff --git a/buying/page/purchase_analytics/purchase_analytics.js b/buying/page/purchase_analytics/purchase_analytics.js index ac0e41fe43..556eb720ad 100644 --- a/buying/page/purchase_analytics/purchase_analytics.js +++ b/buying/page/purchase_analytics/purchase_analytics.js @@ -23,6 +23,7 @@ wn.pages['purchase-analytics'].onload = function(wrapper) { new erpnext.PurchaseAnalytics(wrapper); } +wn.require("lib/js/wn/views/grid_report.js"); erpnext.PurchaseAnalytics = wn.views.TreeGridReport.extend({ init: function(wrapper) { diff --git a/public/js/tree_grid.css b/public/js/tree_grid.css index 00e05d4994..5fe599569c 100644 --- a/public/js/tree_grid.css +++ b/public/js/tree_grid.css @@ -13,9 +13,9 @@ } .toggle.expand { - background: url(images/expand.gif) no-repeat center center; + background: url(app/images/expand.gif) no-repeat center center; } .toggle.collapse { - background: url(images/collapse.gif) no-repeat center center; + background: url(app/images/collapse.gif) no-repeat center center; } \ No newline at end of file diff --git a/selling/page/sales_analytics/sales_analytics.js b/selling/page/sales_analytics/sales_analytics.js index b87ead51f0..17246dea25 100644 --- a/selling/page/sales_analytics/sales_analytics.js +++ b/selling/page/sales_analytics/sales_analytics.js @@ -23,6 +23,8 @@ wn.pages['sales-analytics'].onload = function(wrapper) { new erpnext.SalesAnalytics(wrapper); } +wn.require("lib/js/wn/views/grid_report.js"); + erpnext.SalesAnalytics = wn.views.TreeGridReport.extend({ init: function(wrapper) { this._super({ diff --git a/stock/page/stock_ageing/stock_ageing.js b/stock/page/stock_ageing/stock_ageing.js index 32957000cc..7adf56af62 100644 --- a/stock/page/stock_ageing/stock_ageing.js +++ b/stock/page/stock_ageing/stock_ageing.js @@ -26,6 +26,7 @@ wn.pages['stock-ageing'].onload = function(wrapper) { } +wn.require("lib/js/wn/views/grid_report.js"); wn.require("app/js/stock_grid_report.js"); erpnext.StockAgeing = erpnext.StockGridReport.extend({ diff --git a/stock/page/stock_analytics/stock_analytics.js b/stock/page/stock_analytics/stock_analytics.js index 9b0309f641..bec0bc2524 100644 --- a/stock/page/stock_analytics/stock_analytics.js +++ b/stock/page/stock_analytics/stock_analytics.js @@ -24,6 +24,7 @@ wn.pages['stock-analytics'].onload = function(wrapper) { new erpnext.StockAnalytics(wrapper); } +wn.require("lib/js/wn/views/grid_report.js"); wn.require("app/js/stock_grid_report.js"); erpnext.StockAnalytics = erpnext.StockGridReport.extend({ diff --git a/stock/page/stock_ledger/stock_ledger.js b/stock/page/stock_ledger/stock_ledger.js index 08350e6d32..b71bd1b382 100644 --- a/stock/page/stock_ledger/stock_ledger.js +++ b/stock/page/stock_ledger/stock_ledger.js @@ -24,6 +24,7 @@ wn.pages['stock-ledger'].onload = function(wrapper) { new erpnext.StockLedger(wrapper); } +wn.require("lib/js/wn/views/grid_report.js"); wn.require("app/js/stock_grid_report.js"); erpnext.StockLedger = erpnext.StockGridReport.extend({