Subversion Repositories SmartDukaan

Rev

Rev 14098 | 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 Sku Discounts'); ?></h2>
                        <table class="table">
                        <tr>
                                        <th><?php echo ('sku'); ?></th>
                                        <th><?php echo ('min_discount'); ?></th>
                                        <th><?php echo ('max_discount'); ?></th>
                                        <th><?php echo ('discountType'); ?></th>
                                        <th class="actions"><?php echo __('Actions'); ?></th>
                        </tr>
                        <?php foreach ($exceptionalskudiscounts as $exceptionalskudiscount): ?>
                        <?php $exceptionalskudiscount = json_decode($exceptionalskudiscount,1);?>
                        <tr>
                                <td><?php echo h($exceptionalskudiscount['sku']); ?>&nbsp;</td>
                                <td><?php echo h($exceptionalskudiscount['min_discount']); ?>&nbsp;</td>
                                <td><?php echo h($exceptionalskudiscount['max_discount']); ?>&nbsp;</td>
                                <td><?php echo h($exceptionalskudiscount['discountType']); ?>&nbsp;</td>
                                <td class="actions">
                                        <?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $exceptionalskudiscount['_id']['$oid'])); ?>
                                        <?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $exceptionalskudiscount['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $exceptionalskudiscount['_id']['$oid'])); ?>
                                </td>
                        </tr>
                <?php endforeach; ?>
                        </table>                        
                </div>
        </div>
</div>