| 34651 |
aman.kumar |
1 |
<div class="price-drop-table">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-12 mt-4" id="priceDrop">
|
|
|
4 |
<table class="table table-striped table-condensed table-bordered">
|
|
|
5 |
<thead>
|
|
|
6 |
<tr>
|
|
|
7 |
<th>Drop Id</th>
|
|
|
8 |
<th>Item Name</th>
|
|
|
9 |
<th>TP</th>
|
|
|
10 |
<th>DP</th>
|
|
|
11 |
<th>Mop</th>
|
|
|
12 |
<th>Price Drop</th>
|
|
|
13 |
<th>New DP</th>
|
|
|
14 |
<th>Affected On</th>
|
|
|
15 |
<th>Created On</th>
|
|
|
16 |
<th>Payout</th>
|
|
|
17 |
#if(!$processOn)
|
|
|
18 |
<th>Processed On</th>
|
|
|
19 |
#else
|
|
|
20 |
#end
|
|
|
21 |
<th>Download IMEIs</th>
|
|
|
22 |
</tr>
|
|
|
23 |
</thead>
|
|
|
24 |
<tbody>
|
|
|
25 |
#foreach($priceDrop in $priceDrops )
|
|
|
26 |
<tr data-pricedropid="$priceDrop.getId()">
|
|
|
27 |
<td>$priceDrop.getId()</td>
|
|
|
28 |
<td>$catalogDescription.get($priceDrop.getCatalogItemId())</td>
|
|
|
29 |
<td class="currency">$priceDrop.getTp()</td>
|
|
|
30 |
<td class="currency">$priceDrop.getOldDp()</td>
|
|
|
31 |
<td class="currency">$priceDrop.getMop()</td>
|
|
|
32 |
<td class="currency">$priceDrop.getAmount()</td>
|
|
|
33 |
<td class="currency">$priceDrop.getNewDp()</td>
|
|
|
34 |
<td>$priceDrop.getAffectedOn().format($dateFormatter)</td>
|
|
|
35 |
<td>$priceDrop.getCreatedOn().format($dateFormatter)</td>
|
|
|
36 |
<td>
|
| 37135 |
amit |
37 |
#if($priceDrop.getAmount() < 0)
|
|
|
38 |
N/A (Hike)
|
|
|
39 |
#elseif($priceDrop.getProcessTimestamp())
|
| 34651 |
aman.kumar |
40 |
$priceDrop.getProcessTimestamp().format($dateTimeFormatter)<br>
|
|
|
41 |
<input type="number" name="partnerPayout" readonly
|
|
|
42 |
value="$priceDrop.getAutoPartnerPayout()"
|
|
|
43 |
class="form-control partner-payout input-sm"/>
|
|
|
44 |
#else
|
|
|
45 |
<input type="number" name="partnerPayout" value="$priceDrop.getAutoPartnerPayout()"
|
|
|
46 |
class="form-control partner-payout input-sm"/>
|
|
|
47 |
#end
|
|
|
48 |
</td>
|
|
|
49 |
#if(!$priceDrop.getCompleteTimestamp())
|
|
|
50 |
<td>
|
| 37135 |
amit |
51 |
#if($priceDrop.getAmount() < 0)
|
|
|
52 |
<input class="btn btn-warning btn-sm mk_process_hike" type="submit"
|
|
|
53 |
value="Process Hike"/>
|
|
|
54 |
#else
|
|
|
55 |
<input class="btn btn-info btn-sm mk_view_imeis" data-toggle="modal"
|
|
|
56 |
data-target="#viewImeisModal" type="submit" value="Process Manually"/>
|
|
|
57 |
<input class="btn btn-info btn-sm mk_auto_process" data-activatedonly="false"
|
|
|
58 |
type="submit" value="Process All"/><br>
|
|
|
59 |
<input class="btn btn-info btn-sm mk_auto_process" data-activatedonly="true"
|
|
|
60 |
type="submit" value="Process Activated Only"/>
|
|
|
61 |
#end
|
| 34651 |
aman.kumar |
62 |
</td>
|
|
|
63 |
#else
|
|
|
64 |
<td></td>
|
|
|
65 |
#end
|
|
|
66 |
<td>
|
|
|
67 |
<input class="downloadtotalIMEI btn btn-info btn-sm" value="Download" type="submit"/>
|
|
|
68 |
</td>
|
|
|
69 |
</tr>
|
|
|
70 |
#end
|
|
|
71 |
</tbody>
|
|
|
72 |
</table>
|
|
|
73 |
</div>
|
|
|
74 |
</div>
|
|
|
75 |
</div>
|