Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13637 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 __('Store Cashbacks'); ?></h2>
8
			<table cellpadding="0" cellspacing="0">
9
			<tr>
10
					<th><?php echo $this->Paginator->sort('id'); ?></th>
11
					<th><?php echo $this->Paginator->sort('store_id'); ?></th>
12
					<th><?php echo $this->Paginator->sort('category_id'); ?></th>
13
					<th><?php echo $this->Paginator->sort('cashback_percantage'); ?></th>
14
					<th><?php echo $this->Paginator->sort('created'); ?></th>
15
					<th><?php echo $this->Paginator->sort('modified'); ?></th>
16
					<th class="actions"><?php echo __('Actions'); ?></th>
17
			</tr>
18
			<?php foreach ($storeCashbacks as $storeCashback): ?>
19
			<tr>
20
				<td><?php echo h($storeCashback['StoreCashback']['id']); ?>&nbsp;</td>
21
				<td>
22
					<?php echo $this->Html->link($storeCashback['Store']['name'], array('controller' => 'stores', 'action' => 'view', $storeCashback['Store']['id'])); ?>
23
				</td>
24
				<td>
25
					<?php echo $this->Html->link($storeCashback['Category']['name'], array('controller' => 'categories', 'action' => 'view', $storeCashback['Category']['id'])); ?>
26
				</td>
27
				<td><?php echo h($storeCashback['StoreCashback']['cashback_percantage']); ?>&nbsp;</td>
28
				<td><?php echo h($storeCashback['StoreCashback']['created']); ?>&nbsp;</td>
29
				<td><?php echo h($storeCashback['StoreCashback']['modified']); ?>&nbsp;</td>
30
				<td class="actions">
31
					<?php echo $this->Html->link(__('View'), array('action' => 'view', $storeCashback['StoreCashback']['id'])); ?>
32
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $storeCashback['StoreCashback']['id'])); ?>
33
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $storeCashback['StoreCashback']['id']), null, __('Are you sure you want to delete # %s?', $storeCashback['StoreCashback']['id'])); ?>
34
				</td>
35
			</tr>
36
		<?php endforeach; ?>
37
			</table>
38
			<p>
39
			<?php
40
			echo $this->Paginator->counter(array(
41
			'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
42
			));
43
			?>	</p>
44
			<div class="paging">
45
			<?php
46
				echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
47
				echo $this->Paginator->numbers(array('separator' => ''));
48
				echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
49
			?>
50
			</div>
51
		</div>
52
	</div>
53
</div>