Subversion Repositories SmartDukaan

Rev

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

Rev 30471 Rev 31215
Line 44... Line 44...
44
 
44
 
45
<div class="col-lg-12">
45
<div class="col-lg-12">
46
    <table class="table table-border table-condensed table-bordered"
46
    <table class="table table-border table-condensed table-bordered"
47
           id="circular-table">
47
           id="circular-table">
48
 
48
 
49
        <thead>
-
 
50
        <tr>
-
 
51
 
-
 
52
            <th rowspan=2>Model</th>
-
 
53
            <th rowspan=2>Type</th>
-
 
54
            <th rowspan=2>MRP</th>
-
 
55
            <th rowspan=2>MOP</th>
-
 
56
            <th rowspan=2>DP</th>
-
 
57
            #if($sellins.size() > 0)
-
 
58
                <th colspan="$sellins.size()" style="text-align: center">Sell In</th>
-
 
59
            #end
-
 
60
            #if($sellouts.size() > 0)
-
 
61
                <th colspan="$sellouts.size()" style="text-align: center
-
 
62
                ">Sell Out
-
 
63
                </th>
-
 
64
            #end
-
 
65
            #set($add=0)
-
 
66
            #if($upgradeOffer)
-
 
67
                <th rowspan=2>Upgrade Offer</th>
-
 
68
                #set($add=1)
-
 
69
            #end
-
 
70
            #foreach($offer in $offers)
-
 
71
                #set($fieldIndex=$velocityCount*2 + (4 + $allMargins.size() + $add))
-
 
72
                <th data-idx="$fieldIndex" colspan=2 data-offerid="$offer.getId()"><a href="javascript:void(0)"
-
 
73
                                                                                      class="mk_partner_view">$offer.getName()</a>
-
 
74
                </th>
-
 
75
            #end
-
 
76
            <th rowspan=2>Total Margin</th>
-
 
77
            <th rowspan=2>Net Landing Price</th>
-
 
78
            <th rowspan=2>MOP-DP</th>
-
 
79
            <th rowspan=2>Total Profit</th>
-
 
80
            <th rowspan=2>Net % Margin</th>
-
 
81
 
-
 
82
        </tr>
-
 
83
        <tr>
-
 
84
            #foreach($marginName in $allMargins)
-
 
85
                <th>$marginName</th>
-
 
86
            #end
-
 
87
            #foreach($offer in $offers)
-
 
88
                <th>Target</th>
-
 
89
                <th>Margin</th>
-
 
90
            #end
-
 
91
        </tr>
-
 
92
        </thead>
-
 
93
        <tbody>
49
        <tbody>
94
            #foreach($pc in $priceCircular )
50
            #foreach($pc in $priceCircular )
95
            <tr>
51
            <tr>
96
                <td>$pc.getModelName() $pc.getModelNumber()</td>
52
                <td>$pc.getModelName() $pc.getModelNumber()</td>
97
                <td>$pc.getType()</td>
53
                <td>$pc.getType()</td>
Line 130... Line 86...
130
                <td class="netmargin">$pc.getNetMargin()</td>
86
                <td class="netmargin">$pc.getNetMargin()</td>
131
 
87
 
132
            </tr>
88
            </tr>
133
            #end
89
            #end
134
        </tbody>
90
        </tbody>
-
 
91
        <thead>
-
 
92
            #set($rowspan = 2)
-
 
93
            #if($allMargins.size() > 0 && $offers.size() > 0)
-
 
94
                #set($rowspan=1)
-
 
95
            #end
-
 
96
 
-
 
97
        <tr>
-
 
98
            <th rowspan=$rowsapn>Model</th>
-
 
99
            <th rowspan=$rowsapn>Type</th>
-
 
100
            <th rowspan=$rowsapn>MRP</th>
-
 
101
            <th rowspan=$rowsapn>MOP</th>
-
 
102
            <th rowspan=$rowsapn>DP</th>
-
 
103
            #if($sellins.size() > 0)
-
 
104
                <th colspan="$sellins.size()" style="text-align: center">Sell In</th>
-
 
105
            #end
-
 
106
            #if($sellouts.size() > 0)
-
 
107
                <th colspan="$sellouts.size()" style="text-align: center
-
 
108
                ">Sell Out
-
 
109
                </th>
-
 
110
            #end
-
 
111
            #set($add=0)
-
 
112
            #if($upgradeOffer)
-
 
113
                <th rowspan=$rowsapn>Upgrade Offer</th>
-
 
114
                #set($add=1)
-
 
115
            #end
-
 
116
            #foreach($offer in $offers)
-
 
117
                #set($fieldIndex=$velocityCount*2 + (4 + $allMargins.size() + $add))
-
 
118
                <th data-idx="$fieldIndex" colspan=2 data-offerid="$offer.getId()"><a href="javascript:void(0)"
-
 
119
                                                                                      class="mk_partner_view">$offer.getName()</a>
-
 
120
                </th>
-
 
121
            #end
-
 
122
            <th rowspan=$rowsapn>Total Margin</th>
-
 
123
            <th rowspan=$rowsapn>Net Landing Price</th>
-
 
124
            <th rowspan=$rowsapn>MOP-DP</th>
-
 
125
            <th rowspan=$rowsapn>Total Profit</th>
-
 
126
            <th rowspan=$rowsapn>Net % Margin</th>
-
 
127
 
-
 
128
        </tr>
-
 
129
            #if($rowspan==1)
-
 
130
            <tr>
-
 
131
                #foreach($marginName in $allMargins)
-
 
132
                    <th>$marginName</th>
-
 
133
                #end
-
 
134
                #foreach($offer in $offers)
-
 
135
                    <th>Target</th>
-
 
136
                    <th>Margin</th>
-
 
137
                #end
-
 
138
            </tr>
-
 
139
            #end
-
 
140
        </thead>
135
    </table>
141
    </table>
136
</div>
142
</div>
137
 
143
 
138
<div class="offer-margin-container">
144
<div class="offer-margin-container">
139
    <div class="modal  text-center" id="offerDescription">
145
    <div class="modal  text-center" id="offerDescription">