From 1875fd177a12e9b31b39117c8ab888c34247d2ba Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 25 Jul 2013 16:05:02 +0530 Subject: [PATCH] [minor] [fix] missing icons in reports #589 --- buying/page/buying_home/buying_home.js | 4 ++++ hr/page/hr_home/hr_home.js | 15 +++++++++----- .../manufacturing_home/manufacturing_home.js | 1 + selling/page/selling_home/selling_home.js | 20 +++++++++++++------ stock/page/stock_home/stock_home.js | 6 +++++- 5 files changed, 34 insertions(+), 12 deletions(-) diff --git a/buying/page/buying_home/buying_home.js b/buying/page/buying_home/buying_home.js index d24f2301d8..1b130e94da 100644 --- a/buying/page/buying_home/buying_home.js +++ b/buying/page/buying_home/buying_home.js @@ -113,14 +113,17 @@ wn.module_page["Buying"] = [ { "label":wn._("Item-wise Purchase History"), route: "query-report/Item-wise Purchase History", + doctype: "Item" }, { "label":wn._("Purchase In Transit"), route: "query-report/Purchase In Transit", + doctype: "Purchase Order" }, { "label":wn._("Requested Items To Be Ordered"), route: "query-report/Requested Items To Be Ordered", + doctype: "Material Request" }, { "label":wn._("Purchase Order Trends"), @@ -130,6 +133,7 @@ wn.module_page["Buying"] = [ { "label":wn._("Item-wise Last Purchase Rate"), route: "query-report/Item-wise Last Purchase Rate", + doctype: "Item" } ] } diff --git a/hr/page/hr_home/hr_home.js b/hr/page/hr_home/hr_home.js index dadc6fb02f..21ec1e1fe9 100644 --- a/hr/page/hr_home/hr_home.js +++ b/hr/page/hr_home/hr_home.js @@ -168,23 +168,28 @@ wn.module_page["HR"] = [ items: [ { "label":wn._("Employee Leave Balance"), - route: "query-report/Employee Leave Balance" + route: "query-report/Employee Leave Balance", + doctype: "Leave Application" }, { "label":wn._("Employee Birthday"), - route: "query-report/Employee Birthday" + route: "query-report/Employee Birthday", + doctype: "Employee" }, { "label":wn._("Employee Information"), - route: "Report/Employee/Employee Information" + route: "Report/Employee/Employee Information", + doctype: "Employee" }, { "label":wn._("Monthly Salary Register"), - route: "query-report/Monthly Salary Register" + route: "query-report/Monthly Salary Register", + doctype: "Salary Slip" }, { "label":wn._("Monthly Attendance Sheet"), - route: "query-report/Monthly Attendance Sheet" + route: "query-report/Monthly Attendance Sheet", + doctype: "Attendance" }, ] } diff --git a/manufacturing/page/manufacturing_home/manufacturing_home.js b/manufacturing/page/manufacturing_home/manufacturing_home.js index 7085f9afdf..1f6eed3326 100644 --- a/manufacturing/page/manufacturing_home/manufacturing_home.js +++ b/manufacturing/page/manufacturing_home/manufacturing_home.js @@ -67,6 +67,7 @@ wn.module_page["Manufacturing"] = [ { "label":wn._("Issued Items Against Production Order"), route: "query-report/Issued Items Against Production Order", + doctype:"Production Order" }, ] } diff --git a/selling/page/selling_home/selling_home.js b/selling/page/selling_home/selling_home.js index de2ccf4cc0..ffd89128fe 100644 --- a/selling/page/selling_home/selling_home.js +++ b/selling/page/selling_home/selling_home.js @@ -158,27 +158,33 @@ wn.module_page["Selling"] = [ items: [ { "label":wn._("Customer Addresses And Contacts"), - route: "query-report/Customer Addresses And Contacts" + route: "query-report/Customer Addresses And Contacts", + doctype: "Contact" }, { "label":wn._("Ordered Items To Be Delivered"), route: "query-report/Ordered Items To Be Delivered", + doctype: "Sales Order" }, { "label":wn._("Sales Person-wise Transaction Summary"), - route: "query-report/Sales Person-wise Transaction Summary" + route: "query-report/Sales Person-wise Transaction Summary", + doctype: "Sales Order" }, { "label":wn._("Item-wise Sales History"), - route: "query-report/Item-wise Sales History" + route: "query-report/Item-wise Sales History", + doctype: "Item" }, { "label":wn._("Territory Target Variance (Item Group-Wise)"), - route: "query-report/Territory Target Variance Item Group-Wise" + route: "query-report/Territory Target Variance Item Group-Wise", + doctype: "Territory" }, { "label":wn._("Sales Person Target Variance (Item Group-Wise)"), - route: "query-report/Sales Person Target Variance Item Group-Wise" + route: "query-report/Sales Person Target Variance Item Group-Wise", + doctype: "Sales Person", }, { "label":wn._("Customers Not Buying Since Long Time"), @@ -198,10 +204,12 @@ wn.module_page["Selling"] = [ { "label":wn._("Available Stock for Packing Items"), route: "query-report/Available Stock for Packing Items", + doctype: "Item", }, { "label":wn._("Pending SO Items For Purchase Request"), - route: "query-report/Pending SO Items For Purchase Request" + route: "query-report/Pending SO Items For Purchase Request", + doctype: "Sales Order" }, ] } diff --git a/stock/page/stock_home/stock_home.js b/stock/page/stock_home/stock_home.js index 6c315ad7bc..5c85c69175 100644 --- a/stock/page/stock_home/stock_home.js +++ b/stock/page/stock_home/stock_home.js @@ -203,23 +203,27 @@ wn.module_page["Stock"] = [ { "label":wn._("Purchase In Transit"), route: "query-report/Purchase In Transit", + doctype: "Purchase Order" }, { "label":wn._("Requested Items To Be Transferred"), route: "query-report/Requested Items To Be Transferred", + doctype: "Material Request" }, { "label":wn._("Batch-Wise Balance History"), route: "query-report/Batch-Wise Balance History", + doctype: "Batch" }, { "label":wn._("Warehouse-Wise Stock Balance"), route: "query-report/Warehouse-Wise Stock Balance", + doctype: "Warehouse" }, { "label":wn._("Item Prices"), route: "query-report/Item Prices", - + doctype: "Price List" }, { "label":wn._("Itemwise Recommended Reorder Level"),