Subversion Repositories SmartDukaan

Rev

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

Rev 34400 Rev 34401
Line 66... Line 66...
66
                            data-target="#itemWiseBrandStock">$cr.getValue().getBusinessName()</td>
66
                            data-target="#itemWiseBrandStock">$cr.getValue().getBusinessName()</td>
67
                        <td>$cr.getValue().getCode()</td>
67
                        <td>$cr.getValue().getCode()</td>
68
 
68
 
69
                        <td>$fofoIdPartnerTypeMap.get($cr.getKey())
69
                        <td>$fofoIdPartnerTypeMap.get($cr.getKey())
70
                            <input type="hidden" class="shortInvestment-mk"
70
                            <input type="hidden" class="shortInvestment-mk"
71
                                   value="$partnerDailyInvestmentMap.get($cr.getKey()).getShortInvestment()
71
                                   value="$partnerDailyInvestmentMap.get($cr.getKey()).getShortInvestment().longValue()">
72
                            ">
-
 
-
 
72
 
73
                        </td>
73
                        </td>
74
                        <td>$partnerSalesHeadersMap.get($cr.getKey()).getTerritoryManager()</td>
74
                        <td>$partnerSalesHeadersMap.get($cr.getKey()).getTerritoryManager()</td>
75
 
75
 
76
                        <td class="currency">$partnerDailyInvestmentMap.get($cr.getKey()).getWalletAmount()</td>
76
                        <td class="currency">$partnerDailyInvestmentMap.get($cr.getKey()).getWalletAmount()</td>
77
 
77
 
Line 332... Line 332...
332
        var fofoId = $(this).data('fofoid');
332
        var fofoId = $(this).data('fofoid');
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
-
 
338
        var shortInvest = $row.find('.shortInvestment-mk').val().trim();
337
        var shortInvest = $row.find('.shortInvestment-mk').val().trim();
-
 
338
 
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);