Subversion Repositories SmartDukaan

Rev

Rev 14510 | Rev 15077 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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 __('Manual 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 ('Source'); ?></th>
14
					<th><?php echo ('Name'); ?></th>
15
					<th><?php echo ('Bundle Id'); ?></th>
16
					<th><?php echo ('Start Date'); ?></th>
17
					<th><?php echo ('End Date'); ?></th>
18
					<th class="actions"><?php echo __('Actions'); ?></th>
19
			</tr>
20
			<?php foreach ($negativedeals as $negativedeal): ?>
21
			<tr>
22
				<td><?php echo h($negativedeal['sku']); ?>&nbsp;</td>
23
				<td><?php echo h($negativedeal['brand']); ?></td>
24
				<td><?php echo h($sources[$negativedeal['source_id']]); ?></td>
25
				<td><?php echo h($negativedeal['source_product_name']); ?></td>
26
				<td><?php echo $negativedeal['skuBundleId']; ?></td>
27
				<td><?php echo date('d-m-Y',($negativedeal['startDate']/1000)); ?></td>
28
				<td><?php echo date('d-m-Y',($negativedeal['endDate']/1000)); ?></td>
29
				<td class="actions">
30
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $negativedeal['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $negativedeal['_id']['$oid'])); ?>
31
				</td>
32
			</tr>
33
		<?php endforeach; ?>
34
			</table>			
35
		</div>
36
	</div>
37
	<nav>
38
	  <ul class="pager">
39
	  	<?php if($page>1):?>
40
	    <li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
41
		<?php endif;?>
42
	    <li><a href="?page=<?php echo $page+1;?>">Next</a></li>
43
	  </ul>
44
	</nav>
45
</div>