Subversion Repositories SmartDukaan

Rev

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

Rev 7572 Rev 7730
Line 997... Line 997...
997
        error : function() {
997
        error : function() {
998
        	$('#' + domId).html("<div style='padding:15px 5px 15px 5px;color:red;'><b>Error in refunding. " +
998
        	$('#' + domId).html("<div style='padding:15px 5px 15px 5px;color:red;'><b>Error in refunding. " +
999
        			"<a href='/crm/?email=&mobileNumber=&orderId=&ticketId=&rechargeOrderId=" + rechargeOrderId + "&deviceNumber=&submit=Search'>Try again</a> or contact Engineering team.</b></div>");
999
        			"<a href='/crm/?email=&mobileNumber=&orderId=&ticketId=&rechargeOrderId=" + rechargeOrderId + "&deviceNumber=&submit=Search'>Try again</a> or contact Engineering team.</b></div>");
1000
        }
1000
        }
1001
    });
1001
    });
1002
	
1002
}
-
 
1003
 
-
 
1004
function convertStoreToNormal(orderId) {
-
 
1005
	$.ajax({
-
 
1006
        type : "POST",
-
 
1007
        url : "/crm/user-order-info!convertStoreToNormal?orderId=" + rechargeOrderId,
-
 
1008
        success : function() {
-
 
1009
        	location.reload();
-
 
1010
        },
-
 
1011
        error: function() {
-
 
1012
        	location.reload();
-
 
1013
        }
-
 
1014
    });
1003
}
1015
}
1004
 
1016
 
1005
function changeShippingAddress(orderId) {
1017
function changeShippingAddress(orderId) {
1006
	$.ajax({
1018
	$.ajax({
1007
        type : "POST",
1019
        type : "POST",