Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13637 anikendra 1
<div class="productCashbacks index">
2
	<h2><?php echo __('Product 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('product_id'); ?></th>
8
			<th><?php echo $this->Paginator->sort('cashback_percantage'); ?></th>
9
			<th><?php echo $this->Paginator->sort('cashback_amount'); ?></th>
10
			<th><?php echo $this->Paginator->sort('created'); ?></th>
11
			<th><?php echo $this->Paginator->sort('modified'); ?></th>
12
			<th class="actions"><?php echo __('Actions'); ?></th>
13
	</tr>
14
	<?php foreach ($productCashbacks as $productCashback): ?>
15
	<tr>
16
		<td><?php echo h($productCashback['ProductCashback']['id']); ?>&nbsp;</td>
17
		<td>
18
			<?php echo $this->Html->link($productCashback['Store']['name'], array('controller' => 'stores', 'action' => 'view', $productCashback['Store']['id'])); ?>
19
		</td>
20
		<td><?php echo h($productCashback['ProductCashback']['product_id']); ?>&nbsp;</td>
21
		<td><?php echo h($productCashback['ProductCashback']['cashback_percantage']); ?>&nbsp;</td>
22
		<td><?php echo h($productCashback['ProductCashback']['cashback_amount']); ?>&nbsp;</td>
23
		<td><?php echo h($productCashback['ProductCashback']['created']); ?>&nbsp;</td>
24
		<td><?php echo h($productCashback['ProductCashback']['modified']); ?>&nbsp;</td>
25
		<td class="actions">
26
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $productCashback['ProductCashback']['id'])); ?>
27
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $productCashback['ProductCashback']['id'])); ?>
28
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $productCashback['ProductCashback']['id']), null, __('Are you sure you want to delete # %s?', $productCashback['ProductCashback']['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 Product 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
	</ul>
54
</div>