|
@@ -474,7 +474,7 @@ Ext.define('erp.view.v6.pagingQuery.Form', {
|
|
|
} else if(f.xtype=='condatefield' ) {
|
|
|
if(f.firstVal && f.secondVal ){
|
|
|
if (f.name && f.name.indexOf('querydate') >= 0) {
|
|
|
- return f.logic+".set_from"+f.name+"('"+Ext.Date.format(f.firstVal, 'Y-m-d') +"')='"+Ext.Date.format(f.firstVal, 'Y-m-d') +"' and " +f.logic+".set_to"+f.name+"('"+Ext.Date.format(f.secondVal, 'Y-m-d') +"')='"+Ext.Date.format(f.firstVal, 'Y-m-d') +"'";
|
|
|
+ return f.logic+".set_from"+f.name+"('"+Ext.Date.format(f.firstVal, 'Y-m-d') +"')='"+Ext.Date.format(f.firstVal, 'Y-m-d') +"' and " +f.logic+".set_to"+f.name+"('"+Ext.Date.format(f.secondVal, 'Y-m-d') +"')='"+Ext.Date.format(f.secondVal, 'Y-m-d') +"'";
|
|
|
} else {
|
|
|
return f.logic+".set_fromdate('"+Ext.Date.format(f.firstVal, 'Y-m-d') +"')='"+Ext.Date.format(f.firstVal, 'Y-m-d') +"' and " +f.logic+".set_todate('"+Ext.Date.format(f.secondVal, 'Y-m-d') +"')='"+Ext.Date.format(f.secondVal, 'Y-m-d')+"'";
|
|
|
}
|