Subversion Repositories SmartDukaan

Rev

Rev 33713 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
32203 amit.gupta 1
<div class="modal-header">
2
    <button type="button" class="close" id="cancel-model" data-dismiss="modal">&times;</button>
3
    <h4 class="modal-title">Terms & Conditions</h4>
4
</div>
5
<div class="modal-body" style="height:500px;overflow:auto">
6
    <div style="margin-top: 15px;" class="offer-margin-table">
7
 
8
        <div class="row">
9
            <div class="col-lg-12">
10
                <div style="font-size:20px; font-weight:bold"
11
                     class="pull-left">$vmUtils.html($offer.getDescription())</div>
12
            </div>
13
        </div>
14
        <div class="row" style="max-height:600px;overflow-y:auto">
15
            #if($offer.isBaseCriteria())
16
                <div class="col-lg-12">
17
                    <p class="pull-left">
18
                        <b>Base Criteria - </b>
19
                        $vmUtils.html($offer.getItemCriteriaString())
20
                    </p>
21
                </div>
22
            #end
23
            <div class="col-lg-12">
24
                <table class="table table-bordered table-sm">
25
                    <thead>
26
                    <tr>
27
                        <th>Models</th>
28
                        <th>Target</th>
29
                        <th>Payout</th>
30
                    </tr>
31
                    </thead>
32
                    <tbody>
33
                        #foreach($itemCriteriaPayout in $offer.getTargetSlabs().get(0).getItemCriteriaPayouts())
34
                            #foreach($payoutSlab in $itemCriteriaPayout.getPayoutSlabs())
35
                            <tr>
36
                                #if($velocityCount==1)
37
                                    <td rowspan="$itemCriteriaPayout.getPayoutSlabs().size()">
38
                                        $itemCriteriaPayout.getItemCriteriaString()
39
                                    </td>
40
                                #end
41
                                #if($offer.getPayoutType().name().equals("QUANTITY"))
42
                                    <td>$payoutSlab.getOnwardsAmount() pcs Onwards</td>
43
                                #else
44
                                    <td>Rs.<span class="currency">$payoutSlab.getOnwardsAmount()</span> Onwards</td>
45
                                #end
46
                                #if($itemCriteriaPayout.getAmountType().name().equals("PERCENTAGE"))
47
                                    <td>$payoutSlab.getPayoutAmount()%</td>
48
                                #elseif($itemCriteriaPayout.getAmountType().name().equals("FIXED"))
49
                                    <td>Rs.<span class="currency">$payoutSlab.getPayoutAmount()</span> per pc</td>
50
                                #else
51
                                    <td>Rs.<span class="currency">$payoutSlab.getPayoutAmount()</span></td>
52
                                #end
53
                            </tr>
54
                            #end
55
                        #end
56
                    </tbody>
57
                </table>
58
            </div>
59
        </div>
60
    </div>
61
 
62
 
63
    <div class="row">
64
        <div class="col-lg-12">
65
            <ul id="descriptionMenu" style="text-align:left">
66
                #if($offer.getOfferNotes() && !$offer.getOfferNotes().equals(""))
67
                    <li>
68
                        Note -  $vmUtils.html($offer.getOfferNotes())
69
                    </li>
70
                #end
71
 
72
            </ul>
73
 
74
            <div class="termContainer ck-content">
75
 
76
                $vmUtils.html($offer.getTerms())
77
 
78
            </div>
79
 
80
 
81
        </div>
82
    </div>
83
 
84
</div>
85
<div class="modal-footer">
86
    <button type="button" data-dismiss="modal" class="btn btn-default cancel-description">Dismiss</button>
87
</div>