Rev 16493 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="container"><div class="row"><div class="col-lg-3"><?php echo $this->Element('adminactions');?></div><div class="col-lg-9"><?php echo $this->element('adminsearch');?><h2><?php echo __('Manual Deals'); ?></h2><table class="table table-striped"><tr><th><?php echo ('sku'); ?></th><th><?php echo ('Brand'); ?></th><th><?php echo ('Source'); ?></th><th><?php echo ('Name'); ?></th><th><?php echo ('Bundle Id'); ?></th><!-- <th><?php //echo ('Threshold Price'); ?></th> --><th><?php echo ('Deal Url'); ?></th><th><?php echo ('Start Date'); ?></th><th><?php echo ('End Date'); ?></th><th class="actions"><?php echo __('Actions'); ?></th></tr><?php foreach ($negativedeals as $negativedeal): ?><tr><td><?php echo h($negativedeal['sku']); ?> </td><td><?php echo h($negativedeal['brand']); ?></td><td><?php echo h($sources[$negativedeal['source_id']]); ?></td><td><?php echo h($negativedeal['source_product_name']); ?></td><td><?php echo $negativedeal['skuBundleId']; ?></td><!-- <td><?php //echo $negativedeal['dealThresholdPrice']; ?></td> --><td><?php echo $negativedeal['dealUrl']; ?></td><td><?php echo date('d-m-Y',($negativedeal['startDate']/1000)); ?></td><td><?php echo date('d-m-Y',($negativedeal['endDate']/1000)); ?></td><td class="actions"><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $negativedeal['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $negativedeal['_id']['$oid'])); ?></td></tr><?php endforeach; ?></table></div></div><nav><ul class="pager"><?php if($page>1):?><li><a href="?page=<?php echo $page-1;?>">Previous</a></li><?php endif;?><li><a href="?page=<?php echo $page+1;?>">Next</a></li></ul></nav></div>