Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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