Subversion Repositories SmartDukaan

Rev

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

Rev 34035 Rev 34088
Line 332... Line 332...
332
 
332
 
333
        doGetAjaxRequestHandler(context + "/getPartnerShortageStock?brand=" + brand + "&fofoId="
333
        doGetAjaxRequestHandler(context + "/getPartnerShortageStock?brand=" + brand + "&fofoId="
334
                + fofoId, function (response) {
334
                + fofoId, function (response) {
335
 
335
 
336
            $('#itemWiseBrandStock .modal-content').html(response);
336
            $('#itemWiseBrandStock .modal-content').html(response);
-
 
337
            getPartnerShortageStockDetail(fofoId, brand);
337
 
338
 
338
        });
339
        });
339
    });
340
    });
340
 
341
 
-
 
342
    $(document).on('click', '.brandFocusedStockDetail', function () {
-
 
343
 
-
 
344
        var fofoId = $(this).data('fofoid');
-
 
345
        var brand = $(this).data('brand');
-
 
346
 
-
 
347
        getPartnerShortageStockDetail(fofoId, brand);
-
 
348
 
-
 
349
    });
-
 
350
 
-
 
351
    function getPartnerShortageStockDetail(fofoId, brand) {
-
 
352
        console.log("fdwfdw");
-
 
353
        doGetAjaxRequestHandler(
-
 
354
                context + "/getPartnerShortageStockDetail?brand=" + brand + "&fofoId="
-
 
355
                + fofoId, function (response) {
-
 
356
 
-
 
357
                    $('#itemWiseBrandStockDetail').html(response);
-
 
358
 
-
 
359
                });
-
 
360
    }
-
 
361
 
341
 
362
 
342
</script>
363
</script>
343
364