Subversion Repositories SmartDukaan

Rev

Rev 14098 | Go to most recent revision | Details | 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">	<h2><?php echo __('Exceptional Sku Discounts'); ?></h2>
7
			<table class="table">
8
			<tr>
9
					<th><?php echo ('sku'); ?></th>
10
					<th><?php echo ('min_discount'); ?></th>
11
					<th><?php echo ('max_discount'); ?></th>
12
					<th><?php echo ('discountType'); ?></th>
13
					<th class="actions"><?php echo __('Actions'); ?></th>
14
			</tr>
15
			<?php foreach ($exceptionalskudiscounts as $exceptionalskudiscount): ?>
16
			<?php $exceptionalskudiscount = json_decode($exceptionalskudiscount,1);?>
17
			<tr>
18
				<td><?php echo h($exceptionalskudiscount['sku']); ?>&nbsp;</td>
19
				<td><?php echo h($exceptionalskudiscount['min_discount']); ?>&nbsp;</td>
20
				<td><?php echo h($exceptionalskudiscount['max_discount']); ?>&nbsp;</td>
21
				<td><?php echo h($exceptionalskudiscount['discountType']); ?>&nbsp;</td>
22
				<td class="actions">
23
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $exceptionalskudiscount['_id']['$oid'])); ?>
24
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $exceptionalskudiscount['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $exceptionalskudiscount['_id']['$oid'])); ?>
25
				</td>
26
			</tr>
27
		<?php endforeach; ?>
28
			</table>			
29
		</div>
30
	</div>
31
</div>