From 7d1e8f218b3b674551cbb1722057efb820c8be05 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 14 Jun 2012 18:11:36 +0530 Subject: [PATCH] change date field for sales invoice in sales personwise transaction summary search criteria --- .../sales_personwise_transaction_summary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.js b/erpnext/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.js index 48791833ae..335df7a6d7 100755 --- a/erpnext/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.js +++ b/erpnext/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.js @@ -41,7 +41,7 @@ report.get_query = function() { date_fld = 'transaction_date'; if(based_on == 'Sales Invoice') { based_on = 'Sales Invoice'; - date_fld = 'voucher_date'; + date_fld = 'posting_date'; } sp_cond = '';