Subversion Repositories SmartDukaan

Rev

Rev 14517 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14517 Rev 15848
Line 5... Line 5...
5
		</div>
5
		</div>
6
		<div class="col-lg-9">	<h2><?php echo __('Exceptional Sku Discounts'); ?></h2>
6
		<div class="col-lg-9">	<h2><?php echo __('Exceptional Sku Discounts'); ?></h2>
7
			<?php echo $this->element('adminsearch');?>
7
			<?php echo $this->element('adminsearch');?>
8
			<table class="table">
8
			<table class="table">
9
			<tr>
9
			<tr>
10
					<th><?php echo ('sku'); ?></th>
10
					<th><?php echo ('skuBundleId'); ?></th>
11
					<th><?php echo ('name'); ?></th>
11
					<th><?php echo ('name'); ?></th>
12
					<th><?php echo ('min_discount'); ?></th>
12
					<th><?php echo ('min_discount'); ?></th>
13
					<th><?php echo ('max_discount'); ?></th>
13
					<th><?php echo ('max_discount'); ?></th>
14
					<th><?php echo ('discountType'); ?></th>
14
					<th><?php echo ('discountType'); ?></th>
15
					<th class="actions"><?php echo __('Actions'); ?></th>
15
					<th class="actions"><?php echo __('Actions'); ?></th>
Line 17... Line 17...
17
			<?php foreach ($exceptionalskudiscounts as $exceptionalskudiscount): ?>
17
			<?php foreach ($exceptionalskudiscounts as $exceptionalskudiscount): ?>
18
			<?php if(!is_array($exceptionalskudiscount)){
18
			<?php if(!is_array($exceptionalskudiscount)){
19
				$exceptionalskudiscount = json_decode($exceptionalskudiscount,1);
19
				$exceptionalskudiscount = json_decode($exceptionalskudiscount,1);
20
			}?>
20
			}?>
21
			<tr>
21
			<tr>
22
				<td><?php echo h($exceptionalskudiscount['sku']); ?>&nbsp;</td>
22
				<td><?php echo h($exceptionalskudiscount['skuBundleId']); ?>&nbsp;</td>
23
				<td><?php echo h($exceptionalskudiscount['source_product_name']); ?>&nbsp;</td>
23
				<td><?php echo h($exceptionalskudiscount['source_product_name']); ?>&nbsp;</td>
24
				<td class="edit" id="min_discount" data-oid="<?php echo $exceptionalskudiscount['_id']['$oid'];?>"><?php echo h($exceptionalskudiscount['min_discount']); ?></td>
24
				<td class="edit" id="min_discount" data-oid="<?php echo $exceptionalskudiscount['_id']['$oid'];?>"><?php echo h($exceptionalskudiscount['min_discount']); ?></td>
25
				<td class="edit" id="max_discount" data-oid="<?php echo $exceptionalskudiscount['_id']['$oid'];?>"><?php echo h($exceptionalskudiscount['max_discount']); ?></td>
25
				<td class="edit" id="max_discount" data-oid="<?php echo $exceptionalskudiscount['_id']['$oid'];?>"><?php echo h($exceptionalskudiscount['max_discount']); ?></td>
26
				<td class="editable" id="discountType" data-oid="<?php echo $exceptionalskudiscount['_id']['$oid'];?>"><?php echo h($exceptionalskudiscount['discountType']); ?></td>
26
				<td class="editable" id="discountType" data-oid="<?php echo $exceptionalskudiscount['_id']['$oid'];?>"><?php echo h($exceptionalskudiscount['discountType']); ?></td>
27
				<td class="actions">
27
				<td class="actions">