| 14510 |
anikendra |
1 |
<div class="container">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-3">
|
|
|
4 |
<?php echo $this->Element('adminactions');?>
|
|
|
5 |
</div>
|
|
|
6 |
<div class="col-lg-9">
|
| 14517 |
anikendra |
7 |
<?php echo $this->element('adminsearch');?>
|
| 14510 |
anikendra |
8 |
<h2><?php echo __('Negative Deals'); ?></h2>
|
|
|
9 |
<table class="table table-striped">
|
|
|
10 |
<tr>
|
|
|
11 |
<th><?php echo ('sku'); ?></th>
|
|
|
12 |
<th><?php echo ('Brand'); ?></th>
|
|
|
13 |
<th><?php echo ('Name'); ?></th>
|
|
|
14 |
<th><?php echo ('Bundle Id'); ?></th>
|
|
|
15 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
|
|
16 |
</tr>
|
|
|
17 |
<?php foreach ($negativedeals as $negativedeal): ?>
|
|
|
18 |
<tr>
|
|
|
19 |
<td><?php echo h($negativedeal['sku']); ?> </td>
|
|
|
20 |
<td><?php echo h($negativedeal['brand']); ?></td>
|
|
|
21 |
<td><?php echo h($negativedeal['source_product_name']); ?></td>
|
|
|
22 |
<td><?php echo $negativedeal['skuBundleId']; ?></td>
|
|
|
23 |
<td class="actions">
|
|
|
24 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $negativedeal['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $negativedeal['_id']['$oid'])); ?>
|
|
|
25 |
</td>
|
|
|
26 |
</tr>
|
|
|
27 |
<?php endforeach; ?>
|
|
|
28 |
</table>
|
|
|
29 |
</div>
|
|
|
30 |
</div>
|
|
|
31 |
<nav>
|
|
|
32 |
<ul class="pager">
|
|
|
33 |
<?php if($page>1):?>
|
|
|
34 |
<li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
|
|
|
35 |
<?php endif;?>
|
|
|
36 |
<li><a href="?page=<?php echo $page+1;?>">Next</a></li>
|
|
|
37 |
</ul>
|
|
|
38 |
</nav>
|
|
|
39 |
</div>
|