Subversion Repositories SmartDukaan

Rev

Rev 22350 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22350 Rev 22363
Line 1625... Line 1625...
1625
function verifyDoc(userId){
1625
function verifyDoc(userId){
1626
	var gstin = $("#gstin").val();
1626
	var gstin = $("#gstin").val();
1627
	params = {gstin:gstin, userId:userId}
1627
	params = {gstin:gstin, userId:userId}
1628
	$.ajax({
1628
	$.ajax({
1629
        type : "GET",
1629
        type : "GET",
1630
        url : "/crm/verify-doc",
1630
        url : "/crm/user-info!verifyRetailer",
1631
        data : params,
1631
        data : params,
1632
        success : function(response) {
1632
        success : function(response) {
1633
        	alert(response);
1633
        	alert("Retailer has been verified");
1634
        	location.reload();
1634
        	$('#infopane').html(response);
1635
        },
1635
        },
1636
        error : function() {
1636
        error : function() {
1637
			alert("Unable to split returnorder");
1637
			alert("Unable to verify retailer");
1638
		}
1638
		}
1639
    });
1639
    });
1640
}
1640
}
1641
//
1641
//
1642
1642