Subversion Repositories SmartDukaan

Rev

Rev 13646 | Rev 14401 | 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 __('Exceptional Nlcs'); ?></h2>
8
			<table class="table table-striped">
9
			<tr>
10
					<th><?php echo ('sku'); ?></th>
14098 anikendra 11
					<th><?php echo ('max Nlc'); ?></th>
12
					<th><?php echo ('min Nlc'); ?></th>
13646 anikendra 13
					<th class="actions"><?php echo __('Actions'); ?></th>
14
			</tr>
15
			<?php foreach ($exceptionalnlcs as $exceptionalnlc): ?>
16
			<?php $exceptionalnlc = json_decode($exceptionalnlc,1);?>
17
			<tr>
18
				<td><?php echo h($exceptionalnlc['sku']); ?>&nbsp;</td>
14098 anikendra 19
				<td class="edit" id="maxNlc" data-oid="<?php echo $exceptionalnlc['_id']['$oid'];?>"><?php echo h($exceptionalnlc['maxNlc']); ?></td>
20
				<td class="edit" id="minNlc" data-oid="<?php echo $exceptionalnlc['_id']['$oid'];?>"><?php echo h($exceptionalnlc['minNlc']); ?></td>
13646 anikendra 21
				<td class="actions">
14098 anikendra 22
					<?php //echo $this->Html->link(__('Edit'), array('action' => 'edit', $exceptionalnlc['_id']['$oid'])); ?>
13646 anikendra 23
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $exceptionalnlc['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $exceptionalnlc['_id']['$oid'])); ?>
24
				</td>
25
			</tr>
26
		<?php endforeach; ?>
27
			</table>			
28
		</div>
29
	</div>
14098 anikendra 30
	<nav>
31
	  <ul class="pager">
32
	  	<?php if($page>1):?>
33
	    <li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
34
		<?php endif;?>
35
	    <li><a href="?page=<?php echo $page+1;?>">Next</a></li>
36
	  </ul>
37
	</nav>
13646 anikendra 38
</div>