Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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