Subversion Repositories SmartDukaan

Rev

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

Rev 6982 Rev 6985
Line 24... Line 24...
24
              "aoColumns" : [{ "sWidth": "16%" },//order id
24
              "aoColumns" : [{ "sWidth": "16%" },//order id
25
                             { "sWidth": "30%" },//item desc
25
                             { "sWidth": "30%" },//item desc
26
                             { "sWidth": "16%" },//created
26
                             { "sWidth": "16%" },//created
27
                             { "sWidth": "8%" },//amount
27
                             { "sWidth": "8%" },//amount
28
                             { "sWidth": "17%" },//status
28
                             { "sWidth": "17%" },//status
29
                             { "sWidth": "9%" }],//mobile no.
29
                             { "sWidth": "13%" }],//mobile no.
30
                "fnDrawCallback": function() { truncateText(125); },
30
                "fnDrawCallback": function() { truncateText(125); },
31
                "iDisplayLength" : 10,
31
                "iDisplayLength" : 10,
32
                "sDom" : 'T<"clear">lfrtip',
32
                "sDom" : 'T<"clear">lfrtip',
33
                "oTableTools" : {
33
                "oTableTools" : {
34
                    "sSwfPath" : "swf/copy_cvs_xls_pdf.swf"
34
                    "sSwfPath" : "swf/copy_cvs_xls_pdf.swf"
Line 960... Line 960...
960
        	$('#' + domId).html("<div style='padding:15px 5px 15px 5px;color:red;'><b>Error in refunding. " +
960
        	$('#' + domId).html("<div style='padding:15px 5px 15px 5px;color:red;'><b>Error in refunding. " +
961
        			"<a href='/crm/?email=&mobileNumber=&orderId=&ticketId=&rechargeOrderId=" + rechargeOrderId + "&deviceNumber=&submit=Search'>Try again</a> or contact Engineering team.</b></div>");
961
        			"<a href='/crm/?email=&mobileNumber=&orderId=&ticketId=&rechargeOrderId=" + rechargeOrderId + "&deviceNumber=&submit=Search'>Try again</a> or contact Engineering team.</b></div>");
962
        }
962
        }
963
    });
963
    });
964
	
964
	
-
 
965
}
-
 
966
 
-
 
967
function changeShippingAddress(orderId) {
-
 
968
	$.ajax({
-
 
969
        type : "POST",
-
 
970
        url : "/crm/user-order-info!changeShippingAddress?orderId=" + orderId,
-
 
971
        data : $('#shippingAddressFrm').serialize(),
-
 
972
        success : function(response) {
-
 
973
        	location.reload();
-
 
974
        },
-
 
975
        error : function() {
-
 
976
        	location.reload();
-
 
977
        }
-
 
978
    });
-
 
979
	
965
}
980
}
966
981