Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16475 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 __('Paytm Coupons'); ?></h2>
8
			<table class="table table-striped">
9
			<tr>
10
					<th><?php echo $this->Paginator->sort('id'); ?></th>
11
					<th><?php echo $this->Paginator->sort('coupon'); ?></th>
12
					<th><?php echo $this->Paginator->sort('offer_text'); ?></th>
13
					<th><?php echo $this->Paginator->sort('min_cart_amount'); ?></th>
14
					<th><?php echo $this->Paginator->sort('cart_item_limit'); ?></th>
15
					<th><?php echo $this->Paginator->sort('max_cashback_amount'); ?></th>
16
					<th><?php echo $this->Paginator->sort('usage_limit'); ?></th>
17
					<th><?php echo $this->Paginator->sort('cod_available'); ?></th>
18
					<th><?php echo $this->Paginator->sort('valid_upto'); ?></th>
19
					<th><?php echo $this->Paginator->sort('created'); ?></th>
20
					<th class="actions"><?php echo __('Actions'); ?></th>
21
			</tr>
22
			<?php foreach ($paytmCoupons as $paytmCoupon): ?>
23
			<tr>
24
				<td><?php echo h($paytmCoupon['PaytmCoupon']['id']); ?>&nbsp;</td>
25
				<td><?php echo h($paytmCoupon['PaytmCoupon']['coupon']); ?>&nbsp;</td>
26
				<td><?php echo h($paytmCoupon['PaytmCoupon']['offer_text']); ?>&nbsp;</td>
27
				<td><?php echo h($paytmCoupon['PaytmCoupon']['min_cart_amount']); ?>&nbsp;</td>
28
				<td><?php echo h($paytmCoupon['PaytmCoupon']['cart_item_limit']); ?>&nbsp;</td>
29
				<td><?php echo h($paytmCoupon['PaytmCoupon']['max_cashback_amount']); ?>&nbsp;</td>
30
				<td><?php echo h($paytmCoupon['PaytmCoupon']['usage_limit']); ?>&nbsp;</td>
31
				<td><?php echo h($paytmCoupon['PaytmCoupon']['cod_available']); ?>&nbsp;</td>
32
				<td><?php echo h($paytmCoupon['PaytmCoupon']['valid_upto']); ?>&nbsp;</td>
33
				<td><?php echo h($paytmCoupon['PaytmCoupon']['created']); ?>&nbsp;</td>
34
				<td class="actions">
35
					<?php echo $this->Html->link(__('View'), array('action' => 'view', $paytmCoupon['PaytmCoupon']['id'])); ?>
36
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $paytmCoupon['PaytmCoupon']['id'])); ?>
37
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $paytmCoupon['PaytmCoupon']['id']), null, __('Are you sure you want to delete # %s?', $paytmCoupon['PaytmCoupon']['id'])); ?>
38
				</td>
39
			</tr>
40
		<?php endforeach; ?>
41
			</table>
42
			<p>
43
			<?php
44
			echo $this->Paginator->counter(array(
45
			'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
46
			));
47
			?>	</p>
48
			<div class="paging">
49
			<?php
50
				echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
51
				echo $this->Paginator->numbers(array('separator' => ''));
52
				echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
53
			?>
54
			</div>
55
		</div>
56
	</div>
57
</div>