Subversion Repositories SmartDukaan

Rev

Rev 13646 | Rev 14401 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="container">
        <div class="row">
                <div class="col-lg-3">
                        <?php echo $this->Element('adminactions');?>
                </div>
                <div class="col-lg-9">
                        <h2><?php echo __('Exceptional Nlcs'); ?></h2>
                        <table class="table table-striped">
                        <tr>
                                        <th><?php echo ('sku'); ?></th>
                                        <th><?php echo ('max Nlc'); ?></th>
                                        <th><?php echo ('min Nlc'); ?></th>
                                        <th class="actions"><?php echo __('Actions'); ?></th>
                        </tr>
                        <?php foreach ($exceptionalnlcs as $exceptionalnlc): ?>
                        <?php $exceptionalnlc = json_decode($exceptionalnlc,1);?>
                        <tr>
                                <td><?php echo h($exceptionalnlc['sku']); ?>&nbsp;</td>
                                <td class="edit" id="maxNlc" data-oid="<?php echo $exceptionalnlc['_id']['$oid'];?>"><?php echo h($exceptionalnlc['maxNlc']); ?></td>
                                <td class="edit" id="minNlc" data-oid="<?php echo $exceptionalnlc['_id']['$oid'];?>"><?php echo h($exceptionalnlc['minNlc']); ?></td>
                                <td class="actions">
                                        <?php //echo $this->Html->link(__('Edit'), array('action' => 'edit', $exceptionalnlc['_id']['$oid'])); ?>
                                        <?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $exceptionalnlc['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $exceptionalnlc['_id']['$oid'])); ?>
                                </td>
                        </tr>
                <?php endforeach; ?>
                        </table>                        
                </div>
        </div>
        <nav>
          <ul class="pager">
                <?php if($page>1):?>
            <li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
                <?php endif;?>
            <li><a href="?page=<?php echo $page+1;?>">Next</a></li>
          </ul>
        </nav>
</div>