Subversion Repositories SmartDukaan

Rev

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

Rev 35155 Rev 35172
Line 43... Line 43...
43
            <option value="">--Select--</option>
43
            <option value="">--Select--</option>
44
            <option value="RBM">RBM</option>
44
            <option value="RBM">RBM</option>
45
            <option value="BM">BM</option>
45
            <option value="BM">BM</option>
46
            <option value="ASM">ASM</option>
46
            <option value="ASM">ASM</option>
47
        </select>
47
        </select>
-
 
48
        <button class="partnerwise-billed-po btn btn-info btn-sm" style="float:right;">Today PO and Billed (Partner
-
 
49
            wise)
-
 
50
        </button>
48
    </div>
51
    </div>
49
 
52
 
50
    <div class="container-fluid">
53
    <div class="container-fluid">
51
    #foreach($brands in $brandParts)
54
    #foreach($brands in $brandParts)
52
        <table class="table table-bordered table-striped">
55
        <table class="table table-bordered table-striped">
Line 251... Line 254...
251
        let endPoint = `/downloadSoldCatalogReport?startDate=${startDate}&endDate=${endDate}`;
254
        let endPoint = `/downloadSoldCatalogReport?startDate=${startDate}&endDate=${endDate}`;
252
        window.open(endPoint, '_blank');
255
        window.open(endPoint, '_blank');
253
        ;
256
        ;
254
    });
257
    });
255
 
258
 
-
 
259
 
-
 
260
    // Button click event
-
 
261
    $(document).on('click', '.partnerwise-billed-po', function () {
-
 
262
        let endPoint = `/downloadModelBrandWisePo`;
-
 
263
        window.open(endPoint, '_blank');
-
 
264
        ;
-
 
265
    });
-
 
266
 
256
    // Button click event
267
    // Button click event
257
    $(document).on('click', '.rbm-target-achievement', function () {
268
    $(document).on('click', '.rbm-target-achievement', function () {
258
        const dates = getDatesFromPicker('input[name="rbmArrPeriod"]');
269
        const dates = getDatesFromPicker('input[name="rbmArrPeriod"]');
259
        const startDate = dates.startDate;
270
        const startDate = dates.startDate;
260
        const endDate = dates.endDate;
271
        const endDate = dates.endDate;