Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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