Subversion Repositories SmartDukaan

Rev

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

Rev 34398 Rev 34399
Line 333... Line 333...
333
        var brand = $(this).data('brand');
333
        var brand = $(this).data('brand');
334
 
334
 
335
        var $row = $(this).closest('tr');
335
        var $row = $(this).closest('tr');
336
 
336
 
337
        // Get the short-invest value from the same row
337
        // Get the short-invest value from the same row
338
        var shortInvest = $row.find('.shortInvestment-mk').text().trim();
338
        var shortInvest = $row.find('.shortInvestment-mk').val().trim();
339
        console.log(shortInvest)
339
        console.log(shortInvest)
340
 
340
 
341
        doGetAjaxRequestHandler(context + "/getPartnerShortageStock?brand=" + brand + "&fofoId=" + fofoId + "&shortInvest=" + shortInvest, function (response) {
341
        doGetAjaxRequestHandler(context + "/getPartnerShortageStock?brand=" + brand + "&fofoId=" + fofoId + "&shortInvest=" + shortInvest, function (response) {
342
 
342
 
343
            $('#itemWiseBrandStock .modal-content').html(response);
343
            $('#itemWiseBrandStock .modal-content').html(response);