Subversion Repositories SmartDukaan

Rev

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

Rev 35544 Rev 35594
Line 1199... Line 1199...
1199
    doGetAjaxRequestHandler(`${context}/warehouse/stock-qty`, function (response) {
1199
    doGetAjaxRequestHandler(`${context}/warehouse/stock-qty`, function (response) {
1200
        $('#main-content').html(response);
1200
        $('#main-content').html(response);
1201
    });
1201
    });
1202
});
1202
});
1203
 
1203
 
-
 
1204
// Partner name link - opens partner performance in new tab (reusable across all pages)
-
 
1205
$(document).on('click', '.partner-link', function (e) {
-
 
1206
    e.preventDefault();
-
 
1207
    var fofoId = $(this).data('fofoid');
-
 
1208
    if (fofoId) {
-
 
1209
        window.open(context + '/partnerPerformance?fofoId=' + fofoId, '_blank');
-
 
1210
    }
-
 
1211
});
-
 
1212
 
1204
function loadMainContent(htmlContent) {
1213
function loadMainContent(htmlContent) {
1205
    $('#main-content').html(htmlContent);
1214
    $('#main-content').html(htmlContent);
1206
}
1215
}
1207
 
1216
 
1208
 
1217