| Line 7... |
Line 7... |
| 7 |
<thead>
|
7 |
<thead>
|
| 8 |
<tr>
|
8 |
<tr>
|
| 9 |
<th style="width:32px;"><input type="checkbox" id="hot-deal-select-all" title="Select all on page" /></th>
|
9 |
<th style="width:32px;"><input type="checkbox" id="hot-deal-select-all" title="Select all on page" /></th>
|
| 10 |
<th>Brand</th>
|
10 |
<th>Brand</th>
|
| 11 |
<th>Model</th>
|
11 |
<th>Model</th>
|
| 12 |
<th>Status</th>
|
12 |
<th>OEM Model</th>
|
| 13 |
<th style="width:135px;">Start Date</th>
|
- |
|
| 14 |
<th style="width:135px;">End Date</th>
|
- |
|
| 15 |
<th style="width:85px;">Warranty</th>
|
13 |
<th style="width:85px;">Warranty</th>
|
| 16 |
<th style="width:115px;">Condition</th>
|
14 |
<th style="width:115px;">Condition</th>
|
| 17 |
<th style="width:75px;">Fresh</th>
|
15 |
<th style="width:75px;">Fresh</th>
|
| 18 |
<th style="width:75px;">Finance</th>
|
16 |
<th style="width:75px;">Finance</th>
|
| 19 |
<th style="width:75px;">Affordability</th>
|
17 |
<th style="width:75px;">Affordability</th>
|
| Line 23... |
Line 21... |
| 23 |
</thead>
|
21 |
</thead>
|
| 24 |
<tbody>
|
22 |
<tbody>
|
| 25 |
#foreach($deal in $deals)
|
23 |
#foreach($deal in $deals)
|
| 26 |
<tr data-deal-id="$deal.getId()" data-catalog-id="$deal.getCatalogItemId()">
|
24 |
<tr data-deal-id="$deal.getId()" data-catalog-id="$deal.getCatalogItemId()">
|
| 27 |
<td><input type="checkbox" class="hot-deal-select" /></td>
|
25 |
<td><input type="checkbox" class="hot-deal-select" /></td>
|
| 28 |
<td>$!deal.getBrandName()</td>
|
26 |
<td>$!deal.getOemBrand()</td>
|
| 29 |
<td>$!deal.getCatalogDescription()</td>
|
27 |
<td>$!deal.getCatalogDescription()</td>
|
| 30 |
<td>
|
28 |
<td>
|
| 31 |
#if($deal.getStatus() == "ACTIVE")
|
29 |
#if($deal.getOemCatalogId())
|
| 32 |
<span class="label label-success">Active</span>
|
- |
|
| 33 |
#elseif($deal.getStatus() == "SCHEDULED")
|
30 |
$!deal.getOemCatalogDescription()
|
| 34 |
<span class="label label-info">Scheduled</span>
|
- |
|
| 35 |
#else
|
31 |
#else
|
| 36 |
<span class="label label-default">Expired</span>
|
32 |
<span class="text-muted">Not mapped</span>
|
| 37 |
#end
|
33 |
#end
|
| 38 |
</td>
|
34 |
</td>
|
| 39 |
<td><input type="date" class="form-control input-sm hot-deal-row-start" value="$deal.getStartDate()" /></td>
|
- |
|
| 40 |
<td><input type="date" class="form-control input-sm hot-deal-row-end" value="$deal.getEndDate()" /></td>
|
- |
|
| 41 |
<td><input type="number" class="form-control input-sm hot-deal-row-field hot-deal-row-warranty" min="0" max="12" value="$deal.getWarrantyMonths()" /></td>
|
35 |
<td><input type="number" class="form-control input-sm hot-deal-row-field hot-deal-row-warranty" min="0" max="12" value="$deal.getWarrantyMonths()" /></td>
|
| 42 |
<td>
|
36 |
<td>
|
| 43 |
<select class="form-control input-sm hot-deal-row-field hot-deal-row-condition">
|
37 |
<select class="form-control input-sm hot-deal-row-field hot-deal-row-condition">
|
| 44 |
<option value="NEW" #if("$!deal.getItemCondition()" == "NEW")selected#end>New</option>
|
38 |
<option value="NEW" #if("$!deal.getItemCondition()" == "NEW")selected#end>New</option>
|
| 45 |
<option value="OPEN_BOX" #if("$!deal.getItemCondition()" == "OPEN_BOX")selected#end>Open Box</option>
|
39 |
<option value="OPEN_BOX" #if("$!deal.getItemCondition()" == "OPEN_BOX")selected#end>Open Box</option>
|
| Line 74... |
Line 68... |
| 74 |
</tbody>
|
68 |
</tbody>
|
| 75 |
</table>
|
69 |
</table>
|
| 76 |
#end
|
70 |
#end
|
| 77 |
</div>
|
71 |
</div>
|
| 78 |
<div class="panel-footer" style="display:flex;align-items:center;justify-content:space-between;">
|
72 |
<div class="panel-footer" style="display:flex;align-items:center;justify-content:space-between;">
|
| 79 |
<span class="text-muted">$total deal(s) · Page $page of $pages</span>
|
73 |
<span class="text-muted">$total model(s) · Page $page of $pages</span>
|
| 80 |
<span>
|
74 |
<span>
|
| 81 |
<button class="btn btn-default btn-sm hot-deal-page-prev" type="button" #if($page <= 1)disabled#end>« Prev</button>
|
75 |
<button class="btn btn-default btn-sm hot-deal-page-prev" type="button" #if($page <= 1)disabled#end>« Prev</button>
|
| 82 |
<button class="btn btn-default btn-sm hot-deal-page-next" type="button" #if($page >= $pages)disabled#end>Next »</button>
|
76 |
<button class="btn btn-default btn-sm hot-deal-page-next" type="button" #if($page >= $pages)disabled#end>Next »</button>
|
| 83 |
</span>
|
77 |
</span>
|
| 84 |
</div>
|
78 |
</div>
|