| 15051 |
manas |
1 |
<div class="playStoreLinks index">
|
|
|
2 |
<h2><?php echo __('Play Store Links'); ?></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('agent_id'); ?></th>
|
|
|
7 |
<th><?php echo $this->Paginator->sort('retailer_id'); ?></th>
|
|
|
8 |
<th><?php echo $this->Paginator->sort('referralcode'); ?></th>
|
|
|
9 |
<th><?php echo $this->Paginator->sort('url'); ?></th>
|
|
|
10 |
<th><?php echo $this->Paginator->sort('call_id'); ?></th>
|
|
|
11 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
|
|
12 |
<th><?php echo $this->Paginator->sort('modified'); ?></th>
|
|
|
13 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
|
|
14 |
</tr>
|
|
|
15 |
<?php foreach ($playStoreLinks as $playStoreLink): ?>
|
|
|
16 |
<tr>
|
|
|
17 |
<td><?php echo h($playStoreLink['PlayStoreLink']['id']); ?> </td>
|
|
|
18 |
<td>
|
|
|
19 |
<?php echo $this->Html->link($playStoreLink['Agent']['name'], array('controller' => 'agents', 'action' => 'view', $playStoreLink['Agent']['id'])); ?>
|
|
|
20 |
</td>
|
|
|
21 |
<td><?php echo h($playStoreLink['PlayStoreLink']['retailer_id']); ?> </td>
|
|
|
22 |
<td><?php echo h($playStoreLink['PlayStoreLink']['referralcode']); ?> </td>
|
|
|
23 |
<td><?php echo h($playStoreLink['PlayStoreLink']['url']); ?> </td>
|
|
|
24 |
<td>
|
|
|
25 |
<?php echo $this->Html->link($playStoreLink['Call']['id'], array('controller' => 'calls', 'action' => 'view', $playStoreLink['Call']['id'])); ?>
|
|
|
26 |
</td>
|
|
|
27 |
<td><?php echo h($playStoreLink['PlayStoreLink']['created']); ?> </td>
|
|
|
28 |
<td><?php echo h($playStoreLink['PlayStoreLink']['modified']); ?> </td>
|
|
|
29 |
<td class="actions">
|
|
|
30 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $playStoreLink['PlayStoreLink']['id'])); ?>
|
|
|
31 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $playStoreLink['PlayStoreLink']['id'])); ?>
|
|
|
32 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $playStoreLink['PlayStoreLink']['id']), null, __('Are you sure you want to delete # %s?', $playStoreLink['PlayStoreLink']['id'])); ?>
|
|
|
33 |
</td>
|
|
|
34 |
</tr>
|
|
|
35 |
<?php endforeach; ?>
|
|
|
36 |
</table>
|
|
|
37 |
<p>
|
|
|
38 |
<?php
|
|
|
39 |
echo $this->Paginator->counter(array(
|
|
|
40 |
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
|
|
41 |
));
|
|
|
42 |
?> </p>
|
|
|
43 |
<div class="paging">
|
|
|
44 |
<?php
|
|
|
45 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
|
|
46 |
echo $this->Paginator->numbers(array('separator' => ''));
|
|
|
47 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
|
|
48 |
?>
|
|
|
49 |
</div>
|
|
|
50 |
</div>
|
|
|
51 |
<div class="actions">
|
|
|
52 |
<h3><?php echo __('Actions'); ?></h3>
|
|
|
53 |
<ul>
|
|
|
54 |
<li><?php echo $this->Html->link(__('New Play Store Link'), array('action' => 'add')); ?></li>
|
|
|
55 |
<li><?php echo $this->Html->link(__('List Agents'), array('controller' => 'agents', 'action' => 'index')); ?> </li>
|
|
|
56 |
<li><?php echo $this->Html->link(__('New Agent'), array('controller' => 'agents', 'action' => 'add')); ?> </li>
|
|
|
57 |
<li><?php echo $this->Html->link(__('List Calls'), array('controller' => 'calls', 'action' => 'index')); ?> </li>
|
|
|
58 |
<li><?php echo $this->Html->link(__('New Call'), array('controller' => 'calls', 'action' => 'add')); ?> </li>
|
|
|
59 |
</ul>
|
|
|
60 |
</div>
|