Subversion Repositories SmartDukaan

Rev

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

Rev 29795 Rev 29876
Line 26... Line 26...
26
    });
26
    });
27
    
27
    
28
    $(document).on('click', 'a.mk_offer_detail', function() {
28
    $(document).on('click', 'a.mk_offer_detail', function() {
29
    	let $offerTr = $(this).closest('tr');
29
    	let $offerTr = $(this).closest('tr');
30
        let offerId = $offerTr.data('offerid');
30
        let offerId = $offerTr.data('offerid');
31
        doGetAjaxRequestHandler(`${context}\offer-details?offerId=${offerId}`, function(data) {
31
        doGetAjaxRequestHandler(`${context}\getOfferMargins?offerId=${offerId}`, function(data) {
32
        	$('#offerDescription .modal-content').html(data);
32
        	$('#offerDescription .modal-content').html(data);
33
        	$("#offerDescription").modal('show');
33
        	$("#offerDescription").modal('show');
34
        });
34
        });
35
    });
35
    });
36
    $(document).on('click', 'a.offer_history', function () {
36
    $(document).on('click', 'a.offer_history', function () {