| Line 6... |
Line 6... |
| 6 |
<div class="col-lg-9">
|
6 |
<div class="col-lg-9">
|
| 7 |
<?php echo $this->element('adminsearch');?>
|
7 |
<?php echo $this->element('adminsearch');?>
|
| 8 |
<h2><?php echo __('Deal Points'); ?></h2>
|
8 |
<h2><?php echo __('Deal Points'); ?></h2>
|
| 9 |
<table class="table table-striped">
|
9 |
<table class="table table-striped">
|
| 10 |
<tr>
|
10 |
<tr>
|
| 11 |
<!-- <th><?php //echo ('sku'); ?></th> -->
|
11 |
<th><?php echo ('source_product_name'); ?></th>
|
| 12 |
<th><?php echo ('Bundle Id'); ?></th>
|
12 |
<th><?php echo ('Bundle Id'); ?></th>
|
| 13 |
<th><?php echo ('Threshold Price'); ?></th>
|
13 |
<th><?php echo ('Threshold Price'); ?></th>
|
| 14 |
<th><?php echo ('Deal Points'); ?></th>
|
14 |
<th><?php echo ('Deal Points'); ?></th>
|
| 15 |
<th><?php echo ('Start Date'); ?></th>
|
15 |
<th><?php echo ('Start Date'); ?></th>
|
| 16 |
<th><?php echo ('End Date'); ?></th>
|
16 |
<th><?php echo ('End Date'); ?></th>
|
| 17 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
17 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
| 18 |
</tr>
|
18 |
</tr>
|
| 19 |
<?php foreach ($negativedeals as $negativedeal): ?>
|
19 |
<?php foreach ($negativedeals as $negativedeal): ?>
|
| 20 |
<tr>
|
20 |
<tr>
|
| 21 |
<!-- <td><?php //echo h($negativedeal['sku']); ?> </td> -->
|
21 |
<td><?php echo h($negativedeal['source_product_name']); ?> </td>
|
| 22 |
<td><?php echo $negativedeal['skuBundleId']; ?></td>
|
22 |
<td><?php echo $negativedeal['skuBundleId']; ?></td>
|
| 23 |
<td class="edit" class="medit" id="dealThresholdPrice" data-oid="<?php echo $negativedeal['_id']['$oid'];?>"><?php echo $negativedeal['dealThresholdPrice']; ?></td>
|
23 |
<td class="edit" class="medit" id="dealThresholdPrice" data-oid="<?php echo $negativedeal['_id']['$oid'];?>"><?php echo $negativedeal['dealThresholdPrice']; ?></td>
|
| 24 |
<td class="edit" class="medit" id="dealPoints" data-oid="<?php echo $negativedeal['_id']['$oid'];?>"><?php echo $negativedeal['dealPoints']; ?></td>
|
24 |
<td class="edit" class="medit" id="dealPoints" data-oid="<?php echo $negativedeal['_id']['$oid'];?>"><?php echo $negativedeal['dealPoints']; ?></td>
|
| 25 |
<td><?php echo date('d-m-Y',($negativedeal['startDate']/1000)); ?></td>
|
25 |
<td><?php echo date('d-m-Y',($negativedeal['startDate']/1000)); ?></td>
|
| 26 |
<td><?php echo date('d-m-Y',($negativedeal['endDate']/1000)); ?></td>
|
26 |
<td><?php echo date('d-m-Y',($negativedeal['endDate']/1000)); ?></td>
|