mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +00:00
dynamic loading for reports
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
wn.require("lib/js/wn/views/grid_report.js");
|
||||
wn.require("app/js/account_tree_grid.js");
|
||||
|
||||
wn.pages['financial-analytics'].onload = function(wrapper) {
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
wn.require("lib/js/wn/views/grid_report.js");
|
||||
wn.require("app/js/account_tree_grid.js");
|
||||
|
||||
wn.pages['trial-balance'].onload = function(wrapper) {
|
||||
|
||||
Reference in New Issue
Block a user