Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
13646 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">
7
			<h2><?php echo __('Sku Schemes'); ?></h2>
8
			<table cellpadding="0" cellspacing="0">
9
			<tr>
10
					<th><?php echo __('sku'); ?></th>
11
					<th><?php echo __('startDate'); ?></th>
12
					<th><?php echo __('endDate'); ?></th>
13
					<th><?php echo __('scheme_amount'); ?></th>
14
					<th class="actions"><?php echo __('Actions'); ?></th>
15
			</tr>
16
			<?php foreach ($skuschemes as $skuscheme): ?>
17
			<?php $skuscheme = json_decode($skuscheme,1);?>
18
			<tr>
19
				<td><?php echo h($skuscheme['sku']); ?>&nbsp;</td>
20
				<td><?php echo date('d-m-Y',$skuscheme['startDate']/1000); ?>&nbsp;</td>
21
				<td><?php echo date('d-m-Y',$skuscheme['endDate']/1000); ?>&nbsp;</td>
22
				<td><?php echo h($skuscheme['scheme_amount']); ?>&nbsp;</td>
23
				<td class="actions">
24
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $skuscheme['_id']['$oid'])); ?>
25
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $skuscheme['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $skuscheme['_id']['$oid'])); ?>
26
				</td>
27
			</tr>
28
		<?php endforeach; ?>
29
			</table>			
30
		</div>
13637 anikendra 31
	</div>
13646 anikendra 32
</div>