| Line 4... |
Line 4... |
| 4 |
<p class="text-muted">No hot deals found.</p>
|
4 |
<p class="text-muted">No hot deals found.</p>
|
| 5 |
#else
|
5 |
#else
|
| 6 |
<table class="table table-striped table-hover">
|
6 |
<table class="table table-striped table-hover">
|
| 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>Brand</th>
|
10 |
<th>Brand</th>
|
| 10 |
<th>Model</th>
|
11 |
<th>Model</th>
|
| 11 |
<th>Status</th>
|
12 |
<th>Status</th>
|
| 12 |
<th style="width:135px;">Start Date</th>
|
13 |
<th style="width:135px;">Start Date</th>
|
| 13 |
<th style="width:135px;">End Date</th>
|
14 |
<th style="width:135px;">End Date</th>
|
| 14 |
<th style="width:85px;">Warranty</th>
|
15 |
<th style="width:85px;">Warranty</th>
|
| 15 |
<th style="width:115px;">Condition</th>
|
16 |
<th style="width:115px;">Condition</th>
|
| 16 |
<th style="width:75px;">Activated</th>
|
17 |
<th style="width:75px;">Fresh</th>
|
| 17 |
<th style="width:75px;">Finance</th>
|
18 |
<th style="width:75px;">Finance</th>
|
| 18 |
<th style="width:75px;">Affordability</th>
|
19 |
<th style="width:75px;">Affordability</th>
|
| 19 |
<th>Added By</th>
|
20 |
<th>Added By</th>
|
| 20 |
<th style="width:150px;">Action</th>
|
21 |
<th style="width:150px;">Action</th>
|
| 21 |
</tr>
|
22 |
</tr>
|
| 22 |
</thead>
|
23 |
</thead>
|
| 23 |
<tbody>
|
24 |
<tbody>
|
| 24 |
#foreach($deal in $deals)
|
25 |
#foreach($deal in $deals)
|
| 25 |
<tr data-deal-id="$deal.getId()">
|
26 |
<tr data-deal-id="$deal.getId()" data-catalog-id="$deal.getCatalogItemId()">
|
| - |
|
27 |
<td><input type="checkbox" class="hot-deal-select" /></td>
|
| 26 |
<td>$!deal.getBrandName()</td>
|
28 |
<td>$!deal.getBrandName()</td>
|
| 27 |
<td>$!deal.getCatalogDescription()</td>
|
29 |
<td>$!deal.getCatalogDescription()</td>
|
| 28 |
<td>
|
30 |
<td>
|
| 29 |
#if($deal.getStatus() == "ACTIVE")
|
31 |
#if($deal.getStatus() == "ACTIVE")
|
| 30 |
<span class="label label-success">Active</span>
|
32 |
<span class="label label-success">Active</span>
|
| Line 43... |
Line 45... |
| 43 |
<option value="OPEN_BOX" #if("$!deal.getItemCondition()" == "OPEN_BOX")selected#end>Open Box</option>
|
45 |
<option value="OPEN_BOX" #if("$!deal.getItemCondition()" == "OPEN_BOX")selected#end>Open Box</option>
|
| 44 |
<option value="REFURBISHED" #if("$!deal.getItemCondition()" == "REFURBISHED")selected#end>Refurbished</option>
|
46 |
<option value="REFURBISHED" #if("$!deal.getItemCondition()" == "REFURBISHED")selected#end>Refurbished</option>
|
| 45 |
</select>
|
47 |
</select>
|
| 46 |
</td>
|
48 |
</td>
|
| 47 |
<td>
|
49 |
<td>
|
| 48 |
<select class="form-control input-sm hot-deal-row-field hot-deal-row-activated">
|
50 |
<select class="form-control input-sm hot-deal-row-field hot-deal-row-fresh">
|
| 49 |
<option value="true" #if($deal.isActivated())selected#end>Yes</option>
|
51 |
<option value="true" #if($deal.isFresh())selected#end>Yes</option>
|
| 50 |
<option value="false" #if(!$deal.isActivated())selected#end>No</option>
|
52 |
<option value="false" #if(!$deal.isFresh())selected#end>No</option>
|
| 51 |
</select>
|
53 |
</select>
|
| 52 |
</td>
|
54 |
</td>
|
| 53 |
<td>
|
55 |
<td>
|
| 54 |
<select class="form-control input-sm hot-deal-row-field hot-deal-row-finance">
|
56 |
<select class="form-control input-sm hot-deal-row-field hot-deal-row-finance">
|
| 55 |
<option value="true" #if($deal.isFinanceMapping())selected#end>Yes</option>
|
57 |
<option value="true" #if($deal.isFinanceMapping())selected#end>Yes</option>
|