| 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']); ?> </td>
|
|
|
26 |
<td><?php echo h($appTransaction['AppTransaction']['retailer_id']); ?> </td>
|
|
|
27 |
<td><?php echo h($appTransaction['AppTransaction']['app_id']); ?> </td>
|
|
|
28 |
<td><?php echo h($appTransaction['AppTransaction']['app_name']); ?> </td>
|
|
|
29 |
<td><?php echo h($appTransaction['AppTransaction']['cashback_status']); ?> </td>
|
|
|
30 |
<td><?php echo h($appTransaction['AppTransaction']['redirect_url']); ?> </td>
|
|
|
31 |
<td><?php echo h($appTransaction['AppTransaction']['cash_back_description']); ?> </td>
|
|
|
32 |
<td><?php echo h($appTransaction['AppTransaction']['payout_status']); ?> </td>
|
|
|
33 |
<td><?php echo h($appTransaction['AppTransaction']['overridenCashBack']); ?> </td>
|
|
|
34 |
<td><?php echo h($appTransaction['AppTransaction']['isCashBackOverriden']); ?> </td>
|
|
|
35 |
<td><?php echo h($appTransaction['AppTransaction']['transaction_time']); ?> </td>
|
|
|
36 |
<td><?php echo h($appTransaction['AppTransaction']['payout_time']); ?> </td>
|
|
|
37 |
<td><?php echo h($appTransaction['AppTransaction']['offer_price']); ?> </td>
|
|
|
38 |
<td><?php echo h($appTransaction['AppTransaction']['payout_amount']); ?> </td>
|
|
|
39 |
<td><?php echo h($appTransaction['AppTransaction']['user_payout']); ?> </td>
|
|
|
40 |
<td><?php echo h($appTransaction['AppTransaction']['payout_description']); ?> </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>
|