Subversion Repositories SmartDukaan

Rev

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

Rev 18884 Rev 18886
Line 18... Line 18...
18
	   { "sWidth": "10%" },
18
	   { "sWidth": "10%" },
19
	   { "sWidth": "15%" },
19
	   { "sWidth": "15%" },
20
	   { "sWidth": "8%" },
20
	   { "sWidth": "8%" },
21
	   { "sWidth": "10%" },
21
	   { "sWidth": "10%" },
22
	   { "sWidth": "8%" },
22
	   { "sWidth": "8%" },
23
	   { "sWidth": "8%" },
23
	   { "sWidth": "8%" }],
24
	
24
	
25
	
25
	
26
	'delayed':
26
	'delayed':
27
	[  { "sWidth": "6%" },
27
	[  { "sWidth": "6%" },
28
	   { "sWidth": "25%" },
28
	   { "sWidth": "25%" },
Line 30... Line 30...
30
	   { "sWidth": "10%" },
30
	   { "sWidth": "10%" },
31
	   { "sWidth": "15%" },
31
	   { "sWidth": "15%" },
32
	   { "sWidth": "8%" },
32
	   { "sWidth": "8%" },
33
	   { "sWidth": "10%" },
33
	   { "sWidth": "10%" },
34
	   { "sWidth": "9%" },
34
	   { "sWidth": "9%" },
35
	   { "sWidth": "12%" },
35
	   { "sWidth": "12%" }],
36
	'codverification':
36
	'codverification':
37
	[  { "sWidth": "8%" },
37
	[  { "sWidth": "8%" },
38
	   { "sWidth": "40%" },
38
	   { "sWidth": "40%" },
39
	   { "sWidth": "5%" },
39
	   { "sWidth": "5%" },
40
	   { "sWidth": "10%" },
40
	   { "sWidth": "10%" },
41
	   { "sWidth": "17%" },
41
	   { "sWidth": "17%" },
42
	   { "sWidth": "10%" },
42
	   { "sWidth": "10%" },
43
	   { "sWidth": "10%" }
43
	   { "sWidth": "10%" }
44
	]
44
	],
45
	'storepickup':
45
	'storepickup':
46
	[  { "sWidth": "6%" },
46
	[  { "sWidth": "6%" },
47
	   { "sWidth": "25%" },
47
	   { "sWidth": "25%" },
48
	   { "sWidth": "5%" },
48
	   { "sWidth": "5%" },
49
	   { "sWidth": "8%" },
49
	   { "sWidth": "8%" },
50
	   { "sWidth": "15%" },
50
	   { "sWidth": "15%" },
51
	   { "sWidth": "8%" },
51
	   { "sWidth": "8%" },
52
	   { "sWidth": "10%" },
52
	   { "sWidth": "10%" },
53
	   { "sWidth": "12%" },
53
	   { "sWidth": "12%" },
54
	   { "sWidth": "4%" },
54
	   { "sWidth": "4%" },
55
	   { "sWidth": "7%" },
55
	   { "sWidth": "7%" }]
56
};
56
};
57
function loadOrderPane(domId, userId, orderId) {
57
function loadOrderPane(domId, userId, orderId) {
58
    $.ajax({
58
    $.ajax({
59
        type : "GET",
59
        type : "GET",
60
        url : "/crm/user-orders?userId=" + userId,
60
        url : "/crm/user-orders?userId=" + userId,
Line 242... Line 242...
242
            
242
            
243
            $('#order-table').dataTable({
243
            $('#order-table').dataTable({
244
            	
244
            	
245
                //"aaSorting" : [ [ 2, 'desc' ] ],
245
                //"aaSorting" : [ [ 2, 'desc' ] ],
246
	            "bAutoWidth": false,
246
	            "bAutoWidth": false,
247
	            "aoColumns" : [{ "sWidth": "8%" },
247
	            "aoColumns" : aoColumns[ordertype],
248
	                           { "sWidth": "40%" },
-
 
249
	                           { "sWidth": "5%" },
-
 
250
	                           { "sWidth": "10%" },
-
 
251
	                           { "sWidth": "17%" },
-
 
252
	                           { "sWidth": "10%" },
-
 
253
	                 		   { "sWidth": "10%" },
-
 
254
	                 		   {"bVisible": false}],
-
 
255
                //"iDisplayLength" : 10,
248
                //"iDisplayLength" : 10,
256
                "fnDrawCallback": function() {
249
                "fnDrawCallback": function() {
257
	                $('.mk_transaction').click(function(){
250
	                $('.mk_transaction').click(function(){
258
	                	
251
	                	
259
	                });
252
	                });