Subversion Repositories SmartDukaan

Rev

Rev 14401 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14401 Rev 14517
Line 2... Line 2...
2
	<div class="row">
2
	<div class="row">
3
		<div class="col-lg-3">
3
		<div class="col-lg-3">
4
			<?php echo $this->Element('adminactions');?>
4
			<?php echo $this->Element('adminactions');?>
5
		</div>
5
		</div>
6
		<div class="col-lg-9">
6
		<div class="col-lg-9">
-
 
7
			<?php echo $this->element('adminsearch');?>
7
			<h2><?php echo __('Exceptional Nlcs'); ?></h2>
8
			<h2><?php echo __('Exceptional Nlcs'); ?></h2>
8
			<table class="table table-striped">
9
			<table class="table table-striped">
9
			<tr>
10
			<tr>
10
					<th><?php echo ('sku'); ?></th>
11
					<th><?php echo ('sku'); ?></th>
11
					<th><?php echo ('maxNlc'); ?></th>
12
					<th><?php echo ('maxNlc'); ?></th>
12
					<th><?php echo ('minNlc'); ?></th>
13
					<th><?php echo ('minNlc'); ?></th>
13
					<th><?php echo ('overrideNlc'); ?></th>
14
					<th><?php echo ('overrideNlc'); ?></th>
14
					<th class="actions"><?php echo __('Actions'); ?></th>
15
					<th class="actions"><?php echo __('Actions'); ?></th>
15
			</tr>
16
			</tr>
16
			<?php foreach ($exceptionalnlcs as $exceptionalnlc): ?>
17
			<?php foreach ($exceptionalnlcs as $exceptionalnlc): ?>
-
 
18
			<?php 
-
 
19
				if(!is_array($exceptionalnlc)){
17
			<?php $exceptionalnlc = json_decode($exceptionalnlc,1);?>
20
					$exceptionalnlc = json_decode($exceptionalnlc,1);
-
 
21
				}
-
 
22
			?>
18
			<tr>
23
			<tr>
19
				<td><?php echo h($exceptionalnlc['sku']); ?>&nbsp;</td>
24
				<td><?php echo h($exceptionalnlc['sku']); ?>&nbsp;</td>
20
				<td class="edit" id="maxNlc" data-oid="<?php echo $exceptionalnlc['_id']['$oid'];?>"><?php echo h($exceptionalnlc['maxNlc']); ?></td>
25
				<td class="edit" id="maxNlc" data-oid="<?php echo $exceptionalnlc['_id']['$oid'];?>"><?php echo h($exceptionalnlc['maxNlc']); ?></td>
21
				<td class="edit" id="minNlc" data-oid="<?php echo $exceptionalnlc['_id']['$oid'];?>"><?php echo h($exceptionalnlc['minNlc']); ?></td>
26
				<td class="edit" id="minNlc" data-oid="<?php echo $exceptionalnlc['_id']['$oid'];?>"><?php echo h($exceptionalnlc['minNlc']); ?></td>
22
				<td class="editable" id="overrideNlc" data-oid="<?php echo $exceptionalnlc['_id']['$oid'];?>"><?php echo $exceptionalnlc['overrideNlc']==1?'Yes':'No'; ?></td>
27
				<td class="editable" id="overrideNlc" data-oid="<?php echo $exceptionalnlc['_id']['$oid'];?>"><?php echo $exceptionalnlc['overrideNlc']==1?'Yes':'No'; ?></td>