Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="paytmCoupons index">
        <h2><?php echo __('Paytm Coupons'); ?></h2>
        <table cellpadding="0" cellspacing="0">
        <tr>
                        <th><?php echo $this->Paginator->sort('id'); ?></th>
                        <th><?php echo $this->Paginator->sort('coupon'); ?></th>
                        <th><?php echo $this->Paginator->sort('offer_text'); ?></th>
                        <th><?php echo $this->Paginator->sort('min_cart_amount'); ?></th>
                        <th><?php echo $this->Paginator->sort('cart_item_limit'); ?></th>
                        <th><?php echo $this->Paginator->sort('max_cashback_amount'); ?></th>
                        <th><?php echo $this->Paginator->sort('usage_limit'); ?></th>
                        <th><?php echo $this->Paginator->sort('cod_available'); ?></th>
                        <th><?php echo $this->Paginator->sort('valid_upto'); ?></th>
                        <th><?php echo $this->Paginator->sort('created'); ?></th>
                        <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php foreach ($paytmCoupons as $paytmCoupon): ?>
        <tr>
                <td><?php echo h($paytmCoupon['PaytmCoupon']['id']); ?>&nbsp;</td>
                <td><?php echo h($paytmCoupon['PaytmCoupon']['coupon']); ?>&nbsp;</td>
                <td><?php echo h($paytmCoupon['PaytmCoupon']['offer_text']); ?>&nbsp;</td>
                <td><?php echo h($paytmCoupon['PaytmCoupon']['min_cart_amount']); ?>&nbsp;</td>
                <td><?php echo h($paytmCoupon['PaytmCoupon']['cart_item_limit']); ?>&nbsp;</td>
                <td><?php echo h($paytmCoupon['PaytmCoupon']['max_cashback_amount']); ?>&nbsp;</td>
                <td><?php echo h($paytmCoupon['PaytmCoupon']['usage_limit']); ?>&nbsp;</td>
                <td><?php echo h($paytmCoupon['PaytmCoupon']['cod_available']); ?>&nbsp;</td>
                <td><?php echo h($paytmCoupon['PaytmCoupon']['valid_upto']); ?>&nbsp;</td>
                <td><?php echo h($paytmCoupon['PaytmCoupon']['created']); ?>&nbsp;</td>
                <td class="actions">
                        <?php echo $this->Html->link(__('View'), array('action' => 'view', $paytmCoupon['PaytmCoupon']['id'])); ?>
                        <?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $paytmCoupon['PaytmCoupon']['id'])); ?>
                        <?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $paytmCoupon['PaytmCoupon']['id']), null, __('Are you sure you want to delete # %s?', $paytmCoupon['PaytmCoupon']['id'])); ?>
                </td>
        </tr>
<?php endforeach; ?>
        </table>
        <p>
        <?php
        echo $this->Paginator->counter(array(
        'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
        ));
        ?>      </p>
        <div class="paging">
        <?php
                echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
                echo $this->Paginator->numbers(array('separator' => ''));
                echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
        ?>
        </div>
</div>
<div class="actions">
        <h3><?php echo __('Actions'); ?></h3>
        <ul>
                <li><?php echo $this->Html->link(__('New Paytm Coupon'), array('action' => 'add')); ?></li>
        </ul>
</div>