From d7889cd5d505e4104aa60afb5192500f69cd805c Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 2 May 2013 12:14:59 +0530 Subject: [PATCH] [script report] payment collection with ageing --- accounts/page/accounts_home/accounts_home.js | 5 +++++ .../__init__.py | 0 .../payment_collection_with_ageing.js} | 2 +- .../payment_collection_with_ageing.py} | 0 .../payment_collection_with_ageing.txt} | 8 ++++---- 5 files changed, 10 insertions(+), 5 deletions(-) rename accounts/report/{collection_report => payment_collection_with_ageing}/__init__.py (100%) rename accounts/report/{collection_report/collection_report.js => payment_collection_with_ageing/payment_collection_with_ageing.js} (94%) rename accounts/report/{collection_report/collection_report.py => payment_collection_with_ageing/payment_collection_with_ageing.py} (100%) rename accounts/report/{collection_report/collection_report.txt => payment_collection_with_ageing/payment_collection_with_ageing.txt} (63%) diff --git a/accounts/page/accounts_home/accounts_home.js b/accounts/page/accounts_home/accounts_home.js index 99d92b576c..7038fe9720 100644 --- a/accounts/page/accounts_home/accounts_home.js +++ b/accounts/page/accounts_home/accounts_home.js @@ -207,6 +207,11 @@ wn.module_page["Accounts"] = [ route: "query-report/Bank Clearance Summary", doctype: "Journal Voucher" }, + { + "label":wn._("Payment Collection With Ageing"), + route: "query-report/Payment Collection With Ageing", + doctype: "Journal Voucher" + }, ] } ] diff --git a/accounts/report/collection_report/__init__.py b/accounts/report/payment_collection_with_ageing/__init__.py similarity index 100% rename from accounts/report/collection_report/__init__.py rename to accounts/report/payment_collection_with_ageing/__init__.py diff --git a/accounts/report/collection_report/collection_report.js b/accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.js similarity index 94% rename from accounts/report/collection_report/collection_report.js rename to accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.js index b370453c5f..d608fbd1d8 100644 --- a/accounts/report/collection_report/collection_report.js +++ b/accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.js @@ -1,4 +1,4 @@ -wn.query_reports["Collection Report"] = { +wn.query_reports["Payment Collection With Ageing"] = { "filters": [ { "fieldname": "from_date", diff --git a/accounts/report/collection_report/collection_report.py b/accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.py similarity index 100% rename from accounts/report/collection_report/collection_report.py rename to accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.py diff --git a/accounts/report/collection_report/collection_report.txt b/accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.txt similarity index 63% rename from accounts/report/collection_report/collection_report.txt rename to accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.txt index 3933dee3a6..3405d197a7 100644 --- a/accounts/report/collection_report/collection_report.txt +++ b/accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.txt @@ -1,8 +1,8 @@ [ { - "creation": "2013-05-01 12:29:12", + "creation": "2013-05-02 12:09:51", "docstatus": 0, - "modified": "2013-05-01 12:29:12", + "modified": "2013-05-02 12:09:51", "modified_by": "Administrator", "owner": "Administrator" }, @@ -12,11 +12,11 @@ "is_standard": "Yes", "name": "__common__", "ref_doctype": "Journal Voucher", - "report_name": "Collection Report", + "report_name": "Payment Collection With Ageing", "report_type": "Script Report" }, { "doctype": "Report", - "name": "Collection Report" + "name": "Payment Collection With Ageing" } ] \ No newline at end of file