Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15051 manas 1
<div class="calls view">
2
<h2><?php echo __('Call'); ?></h2>
3
	<dl>
4
		<dt><?php echo __('Id'); ?></dt>
5
		<dd>
6
			<?php echo h($call['Call']['id']); ?>
7
			&nbsp;
8
		</dd>
9
		<dt><?php echo __('Retailer'); ?></dt>
10
		<dd>
11
			<?php echo $this->Html->link($call['Retailer']['name'], array('controller' => 'retailers', 'action' => 'view', $call['Retailer']['id'])); ?>
12
			&nbsp;
13
		</dd>
14
		<dt><?php echo __('Agent'); ?></dt>
15
		<dd>
16
			<?php echo $this->Html->link($call['Agent']['name'], array('controller' => 'agents', 'action' => 'view', $call['Agent']['id'])); ?>
17
			&nbsp;
18
		</dd>
19
		<dt><?php echo __('Status'); ?></dt>
20
		<dd>
21
			<?php echo h($call['Call']['status']); ?>
22
			&nbsp;
23
		</dd>
24
		<dt><?php echo __('Callduration'); ?></dt>
25
		<dd>
26
			<?php echo h($call['Call']['callduration']); ?>
27
			&nbsp;
28
		</dd>
29
		<dt><?php echo __('Created'); ?></dt>
30
		<dd>
31
			<?php echo h($call['Call']['created']); ?>
32
			&nbsp;
33
		</dd>
34
		<dt><?php echo __('Modified'); ?></dt>
35
		<dd>
36
			<?php echo h($call['Call']['modified']); ?>
37
			&nbsp;
38
		</dd>
39
	</dl>
40
</div>
41
<div class="actions">
42
	<h3><?php echo __('Actions'); ?></h3>
43
	<ul>
44
		<li><?php echo $this->Html->link(__('Edit Call'), array('action' => 'edit', $call['Call']['id'])); ?> </li>
45
		<li><?php echo $this->Form->postLink(__('Delete Call'), array('action' => 'delete', $call['Call']['id']), null, __('Are you sure you want to delete # %s?', $call['Call']['id'])); ?> </li>
46
		<li><?php echo $this->Html->link(__('List Calls'), array('action' => 'index')); ?> </li>
47
		<li><?php echo $this->Html->link(__('New Call'), array('action' => 'add')); ?> </li>
48
		<li><?php echo $this->Html->link(__('List Retailers'), array('controller' => 'retailers', 'action' => 'index')); ?> </li>
49
		<li><?php echo $this->Html->link(__('New Retailer'), array('controller' => 'retailers', 'action' => 'add')); ?> </li>
50
		<li><?php echo $this->Html->link(__('List Agents'), array('controller' => 'agents', 'action' => 'index')); ?> </li>
51
		<li><?php echo $this->Html->link(__('New Agent'), array('controller' => 'agents', 'action' => 'add')); ?> </li>
52
		<li><?php echo $this->Html->link(__('List Play Store Links'), array('controller' => 'play_store_links', 'action' => 'index')); ?> </li>
53
		<li><?php echo $this->Html->link(__('New Play Store Link'), array('controller' => 'play_store_links', 'action' => 'add')); ?> </li>
54
	</ul>
55
</div>
56
<div class="related">
57
	<h3><?php echo __('Related Play Store Links'); ?></h3>
58
	<?php if (!empty($call['PlayStoreLink'])): ?>
59
	<table cellpadding = "0" cellspacing = "0">
60
	<tr>
61
		<th><?php echo __('Id'); ?></th>
62
		<th><?php echo __('Agent Id'); ?></th>
63
		<th><?php echo __('Retailer Id'); ?></th>
64
		<th><?php echo __('Referralcode'); ?></th>
65
		<th><?php echo __('Url'); ?></th>
66
		<th><?php echo __('Call Id'); ?></th>
67
		<th><?php echo __('Created'); ?></th>
68
		<th><?php echo __('Modified'); ?></th>
69
		<th class="actions"><?php echo __('Actions'); ?></th>
70
	</tr>
71
	<?php foreach ($call['PlayStoreLink'] as $playStoreLink): ?>
72
		<tr>
73
			<td><?php echo $playStoreLink['id']; ?></td>
74
			<td><?php echo $playStoreLink['agent_id']; ?></td>
75
			<td><?php echo $playStoreLink['retailer_id']; ?></td>
76
			<td><?php echo $playStoreLink['referralcode']; ?></td>
77
			<td><?php echo $playStoreLink['url']; ?></td>
78
			<td><?php echo $playStoreLink['call_id']; ?></td>
79
			<td><?php echo $playStoreLink['created']; ?></td>
80
			<td><?php echo $playStoreLink['modified']; ?></td>
81
			<td class="actions">
82
				<?php echo $this->Html->link(__('View'), array('controller' => 'play_store_links', 'action' => 'view', $playStoreLink['id'])); ?>
83
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'play_store_links', 'action' => 'edit', $playStoreLink['id'])); ?>
84
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'play_store_links', 'action' => 'delete', $playStoreLink['id']), null, __('Are you sure you want to delete # %s?', $playStoreLink['id'])); ?>
85
			</td>
86
		</tr>
87
	<?php endforeach; ?>
88
	</table>
89
<?php endif; ?>
90
 
91
	<div class="actions">
92
		<ul>
93
			<li><?php echo $this->Html->link(__('New Play Store Link'), array('controller' => 'play_store_links', 'action' => 'add')); ?> </li>
94
		</ul>
95
	</div>
96
</div>