mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-08 15:51:19 +00:00
added module icons in grid reports
This commit is contained in:
@@ -139,7 +139,7 @@ cur_frm.cscript['Make Purchase Receipt'] = function() {
|
||||
//========================== Make Purchase Invoice =====================================================
|
||||
cur_frm.cscript['Make Purchase Invoice'] = function() {
|
||||
n = createLocal('Purchase Invoice');
|
||||
$c('dt_map', args={
|
||||
$c('dt_map', {
|
||||
'docs':compress_doclist([locals['Purchase Invoice'][n]]),
|
||||
'from_doctype':cur_frm.doc.doctype,
|
||||
'to_doctype':'Purchase Invoice',
|
||||
|
||||
@@ -22,6 +22,8 @@ wn.pages['purchase-analytics'].onload = function(wrapper) {
|
||||
});
|
||||
|
||||
new erpnext.PurchaseAnalytics(wrapper);
|
||||
|
||||
wrapper.appframe.add_module_tab("Buying");
|
||||
}
|
||||
|
||||
erpnext.PurchaseAnalytics = wn.views.TreeGridReport.extend({
|
||||
|
||||
Reference in New Issue
Block a user