Subversion Repositories SmartDukaan

Rev

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

Rev 29174 Rev 29189
Line 12... Line 12...
12
    });
12
    });
13
    
13
    
14
    $(document).on('click', 'a.mk_offer_detail', function() {
14
    $(document).on('click', 'a.mk_offer_detail', function() {
15
    	let $offerTr = $(this).closest('tr');
15
    	let $offerTr = $(this).closest('tr');
16
        let offerId = $offerTr.data('offerid');
16
        let offerId = $offerTr.data('offerid');
17
        doGetAjaxRequestHandler(`${context}\offer-details?offerId=${offerId}`, function(data) {
17
        doGetAjaxRequestHandler(`${context}/getOfferMargins?offerId=${offerId}`, function(data) {
18
        	$('#offerDescription .modal-content').html(data);
18
        	$('#offerDescription .modal-content').html(data);
19
        	$("#offerDescription").modal('show');
19
        	$("#offerDescription").modal('show');
20
        });
20
        });
21
    });
21
    });
22
    $(document).on('click', 'a.offer_history', function () {
22
    $(document).on('click', 'a.offer_history', function () {