Opening and closing balance in general ledger report

This commit is contained in:
Nabin Hait
2013-12-19 19:11:53 +05:30
parent 85800fa929
commit 2a9e4e9a32
5 changed files with 35 additions and 12 deletions

View File

@@ -36,7 +36,7 @@ erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({
"from_date": doc.posting_date,
"to_date": doc.posting_date,
};
wn.set_route("general-ledger");
wn.set_route("query-report/General Ledger");
}, "icon-table");
}

View File

@@ -55,7 +55,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
"from_date": doc.posting_date,
"to_date": doc.posting_date,
};
wn.set_route("general-ledger");
wn.set_route("query-report/General Ledger");
}, "icon-table");
var percent_paid = cint(flt(doc.grand_total - doc.outstanding_amount) / flt(doc.grand_total) * 100);