Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16773 manas 1
<div class="appTransactions index">
2
	<h2><?php echo __('App Transactions'); ?></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('retailer_id'); ?></th>
7
			<th><?php echo $this->Paginator->sort('app_id'); ?></th>
8
			<th><?php echo $this->Paginator->sort('app_name'); ?></th>
9
			<th><?php echo $this->Paginator->sort('cashback_status'); ?></th>
10
			<th><?php echo $this->Paginator->sort('redirect_url'); ?></th>
11
			<th><?php echo $this->Paginator->sort('cash_back_description'); ?></th>
12
			<th><?php echo $this->Paginator->sort('payout_status'); ?></th>
13
			<th><?php echo $this->Paginator->sort('overridenCashBack'); ?></th>
14
			<th><?php echo $this->Paginator->sort('isCashBackOverriden'); ?></th>
15
			<th><?php echo $this->Paginator->sort('transaction_time'); ?></th>
16
			<th><?php echo $this->Paginator->sort('payout_time'); ?></th>
17
			<th><?php echo $this->Paginator->sort('offer_price'); ?></th>
18
			<th><?php echo $this->Paginator->sort('payout_amount'); ?></th>
19
			<th><?php echo $this->Paginator->sort('user_payout'); ?></th>
20
			<th><?php echo $this->Paginator->sort('payout_description'); ?></th>
21
			<th class="actions"><?php echo __('Actions'); ?></th>
22
	</tr>
23
	<?php foreach ($appTransactions as $appTransaction): ?>
24
	<tr>
25
		<td><?php echo h($appTransaction['AppTransaction']['id']); ?>&nbsp;</td>
26
		<td><?php echo h($appTransaction['AppTransaction']['retailer_id']); ?>&nbsp;</td>
27
		<td><?php echo h($appTransaction['AppTransaction']['app_id']); ?>&nbsp;</td>
28
		<td><?php echo h($appTransaction['AppTransaction']['app_name']); ?>&nbsp;</td>
29
		<td><?php echo h($appTransaction['AppTransaction']['cashback_status']); ?>&nbsp;</td>
30
		<td><?php echo h($appTransaction['AppTransaction']['redirect_url']); ?>&nbsp;</td>
31
		<td><?php echo h($appTransaction['AppTransaction']['cash_back_description']); ?>&nbsp;</td>
32
		<td><?php echo h($appTransaction['AppTransaction']['payout_status']); ?>&nbsp;</td>
33
		<td><?php echo h($appTransaction['AppTransaction']['overridenCashBack']); ?>&nbsp;</td>
34
		<td><?php echo h($appTransaction['AppTransaction']['isCashBackOverriden']); ?>&nbsp;</td>
35
		<td><?php echo h($appTransaction['AppTransaction']['transaction_time']); ?>&nbsp;</td>
36
		<td><?php echo h($appTransaction['AppTransaction']['payout_time']); ?>&nbsp;</td>
37
		<td><?php echo h($appTransaction['AppTransaction']['offer_price']); ?>&nbsp;</td>
38
		<td><?php echo h($appTransaction['AppTransaction']['payout_amount']); ?>&nbsp;</td>
39
		<td><?php echo h($appTransaction['AppTransaction']['user_payout']); ?>&nbsp;</td>
40
		<td><?php echo h($appTransaction['AppTransaction']['payout_description']); ?>&nbsp;</td>
41
		<td class="actions">
42
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $appTransaction['AppTransaction']['id'])); ?>
43
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $appTransaction['AppTransaction']['id'])); ?>
44
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $appTransaction['AppTransaction']['id']), null, __('Are you sure you want to delete # %s?', $appTransaction['AppTransaction']['id'])); ?>
45
		</td>
46
	</tr>
47
<?php endforeach; ?>
48
	</table>
49
	<p>
50
	<?php
51
	echo $this->Paginator->counter(array(
52
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
53
	));
54
	?>	</p>
55
	<div class="paging">
56
	<?php
57
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
58
		echo $this->Paginator->numbers(array('separator' => ''));
59
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
60
	?>
61
	</div>
62
</div>
63
<div class="actions">
64
	<h3><?php echo __('Actions'); ?></h3>
65
	<ul>
66
		<li><?php echo $this->Html->link(__('New App Transaction'), array('action' => 'add')); ?></li>
67
	</ul>
68
</div>