change date field for sales invoice in sales personwise transaction summary search criteria

This commit is contained in:
Anand Doshi 2012-06-14 18:11:36 +05:30
parent 616c355d20
commit 7d1e8f218b

View File

@ -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 = '';