Subversion Repositories SmartDukaan

Rev

Rev 8821 | Rev 9174 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8821 Rev 9166
Line 1061... Line 1061...
1061
        "oTableTools" : {
1061
        "oTableTools" : {
1062
            "sSwfPath" : "swf/copy_cvs_xls_pdf.swf"
1062
            "sSwfPath" : "swf/copy_cvs_xls_pdf.swf"
1063
        },
1063
        },
1064
        "aLengthMenu" : [ [ 5, 10, 20, -1 ], [ 5, 10, 20, "All" ] ]
1064
        "aLengthMenu" : [ [ 5, 10, 20, -1 ], [ 5, 10, 20, "All" ] ]
1065
    });
1065
    });
-
 
1066
}
-
 
1067
 
-
 
1068
function loadRechargeOrdersByDeviceNo(domId){
-
 
1069
	orderTable = $('#recharge-orders').dataTable({
-
 
1070
	      "aaSorting" : [ [ 1, 'desc' ] ],
-
 
1071
	      "bAutoWidth": false,
-
 
1072
	      "aoColumns" : [{ "sWidth": "16%" },//recharge order id
-
 
1073
                         { "sWidth": "30%" },//desc
-
 
1074
                         { "sWidth": "16%" },//created
-
 
1075
                         { "sWidth": "8%" },//amount
-
 
1076
                         { "sWidth": "17%" },//status
-
 
1077
                         { "sWidth": "13%" }],//mobile no.
-
 
1078
	        "fnDrawCallback": function() { truncateText(125); },
-
 
1079
	        "iDisplayLength" : 10,
-
 
1080
	        "sDom" : 'T<"clear">lfrtip',
-
 
1081
	        "oTableTools" : {
-
 
1082
	            "sSwfPath" : "swf/copy_cvs_xls_pdf.swf"
-
 
1083
	        },
-
 
1084
	        "aLengthMenu" : [ [ 5, 10, 20, -1 ], [ 5, 10, 20, "All" ] ]
-
 
1085
	    });
1066
}
1086
}
1067
1087