Subversion Repositories SmartDukaan

Rev

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

Rev 34397 Rev 34398
Line 339... Line 339...
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);
344
            getPartnerShortageStockDetail(fofoId, brand, shortInvest);
344
            getPartnerShortageStockDetail(fofoId, brand);
345
 
345
 
346
        });
346
        });
347
    });
347
    });
348
 
348
 
349
    // $(document).on('click', '.brandFocusedStockDetail', function () {
349
    // $(document).on('click', '.brandFocusedStockDetail', function () {
Line 357... Line 357...
357
 
357
 
358
    function getPartnerShortageStockDetail(fofoId, brand) {
358
    function getPartnerShortageStockDetail(fofoId, brand) {
359
        console.log("fdwfdw");
359
        console.log("fdwfdw");
360
        doGetAjaxRequestHandler(
360
        doGetAjaxRequestHandler(
361
                context + "/getPartnerShortageStockDetail?brand=" + brand + "&fofoId="
361
                context + "/getPartnerShortageStockDetail?brand=" + brand + "&fofoId="
362
                + fofoId + "&shortInvest=" + shortInvest, function (response) {
362
                + fofoId, function (response) {
363
 
363
 
364
                    $('#itemWiseBrandStockDetail').html(response);
364
                    $('#itemWiseBrandStockDetail').html(response);
365
 
365
 
366
                });
366
                });
367
    }
367
    }