Subversion Repositories SmartDukaan

Rev

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

Rev 34149 Rev 34168
Line 66... Line 66...
66
            }
66
            }
67
        });
67
        });
68
    }
68
    }
69
});
69
});
70
 
70
 
71
function getAllCommitments(partnerId, callback) {
71
function getAllCommitments(retailerIdOrStoreCode, callback) {
72
    doGetAjaxRequestHandler(`${context}/partner-commitments?retailerId=${partnerId}`, function (commitment) {
72
    doGetAjaxRequestHandler(`${context}/partner-commitments?retailerIdOrStoreCode=${retailerIdOrStoreCode}`, function (commitment) {
73
        callback(commitment);
73
        callback(commitment);
74
    });
74
    });
75
}
75
}
76
 
76
 
77
function resetField() {
77
function resetField() {