Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15403 manish.sha 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 __('Product 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('product_id'); ?></th>
13
					<th><?php echo $this->Paginator->sort('cashback_percentage'); ?></th>
14
					<th><?php echo $this->Paginator->sort('cashback_amount'); ?></th>
15
					<th><?php echo $this->Paginator->sort('created'); ?></th>
16
					<th><?php echo $this->Paginator->sort('modified'); ?></th>
17
					<th class="actions"><?php echo __('Actions'); ?></th>
18
			</tr>
19
			<?php foreach ($productCashbacks as $productCashback): ?>
20
			<tr>
21
				<td><?php echo h($productCashback['ProductCashback']['id']); ?>&nbsp;</td>
22
				<td>
23
					<?php echo $this->Html->link($productCashback['Store']['name'], array('controller' => 'stores', 'action' => 'view', $productCashback['Store']['id'])); ?>
24
				</td>
25
				<td><?php echo h($productCashback['ProductCashback']['product_id']); ?>&nbsp;</td>
26
				<td><?php echo h($productCashback['ProductCashback']['cashback_percentage']); ?>&nbsp;</td>
27
				<td><?php echo h($productCashback['ProductCashback']['cashback_amount']); ?>&nbsp;</td>
28
				<td><?php echo h($productCashback['ProductCashback']['created']); ?>&nbsp;</td>
29
				<td><?php echo h($productCashback['ProductCashback']['modified']); ?>&nbsp;</td>
30
				<td class="actions">
31
					<?php echo $this->Html->link(__('View'), array('action' => 'view', $productCashback['ProductCashback']['id'])); ?>
32
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $productCashback['ProductCashback']['id'])); ?>
33
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $productCashback['ProductCashback']['id']), null, __('Are you sure you want to delete # %s?', $productCashback['ProductCashback']['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>