Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="retailers view">
<h2><?php echo __('Retailer'); ?></h2>
        <dl>
                <dt><?php echo __('Id'); ?></dt>
                <dd>
                        <?php echo h($retailer['Retailer']['id']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Name'); ?></dt>
                <dd>
                        <?php echo h($retailer['Retailer']['name']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Address'); ?></dt>
                <dd>
                        <?php echo h($retailer['Retailer']['address']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Mobilenumber'); ?></dt>
                <dd>
                        <?php echo h($retailer['Retailer']['mobilenumber']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Status'); ?></dt>
                <dd>
                        <?php echo h($retailer['Retailer']['status']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Created'); ?></dt>
                <dd>
                        <?php echo h($retailer['Retailer']['created']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Modified'); ?></dt>
                <dd>
                        <?php echo h($retailer['Retailer']['modified']); ?>
                        &nbsp;
                </dd>
        </dl>
</div>
<div class="actions">
        <h3><?php echo __('Actions'); ?></h3>
        <ul>
                <li><?php echo $this->Html->link(__('Edit Retailer'), array('action' => 'edit', $retailer['Retailer']['id'])); ?> </li>
                <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>
                <li><?php echo $this->Html->link(__('List Retailers'), array('action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Retailer'), array('action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Calls'), array('controller' => 'calls', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Call'), array('controller' => 'calls', 'action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Play Store Links'), array('controller' => 'play_store_links', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Play Store Link'), array('controller' => 'play_store_links', 'action' => 'add')); ?> </li>
        </ul>
</div>
<div class="related">
        <h3><?php echo __('Related Calls'); ?></h3>
        <?php if (!empty($retailer['Call'])): ?>
        <table cellpadding = "0" cellspacing = "0">
        <tr>
                <th><?php echo __('Id'); ?></th>
                <th><?php echo __('Retailer Id'); ?></th>
                <th><?php echo __('Agent Id'); ?></th>
                <th><?php echo __('Status'); ?></th>
                <th><?php echo __('Callduration'); ?></th>
                <th><?php echo __('Created'); ?></th>
                <th><?php echo __('Modified'); ?></th>
                <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php foreach ($retailer['Call'] as $call): ?>
                <tr>
                        <td><?php echo $call['id']; ?></td>
                        <td><?php echo $call['retailer_id']; ?></td>
                        <td><?php echo $call['agent_id']; ?></td>
                        <td><?php echo $call['status']; ?></td>
                        <td><?php echo $call['callduration']; ?></td>
                        <td><?php echo $call['created']; ?></td>
                        <td><?php echo $call['modified']; ?></td>
                        <td class="actions">
                                <?php echo $this->Html->link(__('View'), array('controller' => 'calls', 'action' => 'view', $call['id'])); ?>
                                <?php echo $this->Html->link(__('Edit'), array('controller' => 'calls', 'action' => 'edit', $call['id'])); ?>
                                <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'calls', 'action' => 'delete', $call['id']), null, __('Are you sure you want to delete # %s?', $call['id'])); ?>
                        </td>
                </tr>
        <?php endforeach; ?>
        </table>
<?php endif; ?>

        <div class="actions">
                <ul>
                        <li><?php echo $this->Html->link(__('New Call'), array('controller' => 'calls', 'action' => 'add')); ?> </li>
                </ul>
        </div>
</div>
<div class="related">
        <h3><?php echo __('Related Play Store Links'); ?></h3>
        <?php if (!empty($retailer['PlayStoreLink'])): ?>
        <table cellpadding = "0" cellspacing = "0">
        <tr>
                <th><?php echo __('Id'); ?></th>
                <th><?php echo __('Agent Id'); ?></th>
                <th><?php echo __('Retailer Id'); ?></th>
                <th><?php echo __('Referralcode'); ?></th>
                <th><?php echo __('Url'); ?></th>
                <th><?php echo __('Call Id'); ?></th>
                <th><?php echo __('Created'); ?></th>
                <th><?php echo __('Modified'); ?></th>
                <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php foreach ($retailer['PlayStoreLink'] as $playStoreLink): ?>
                <tr>
                        <td><?php echo $playStoreLink['id']; ?></td>
                        <td><?php echo $playStoreLink['agent_id']; ?></td>
                        <td><?php echo $playStoreLink['retailer_id']; ?></td>
                        <td><?php echo $playStoreLink['referralcode']; ?></td>
                        <td><?php echo $playStoreLink['url']; ?></td>
                        <td><?php echo $playStoreLink['call_id']; ?></td>
                        <td><?php echo $playStoreLink['created']; ?></td>
                        <td><?php echo $playStoreLink['modified']; ?></td>
                        <td class="actions">
                                <?php echo $this->Html->link(__('View'), array('controller' => 'play_store_links', 'action' => 'view', $playStoreLink['id'])); ?>
                                <?php echo $this->Html->link(__('Edit'), array('controller' => 'play_store_links', 'action' => 'edit', $playStoreLink['id'])); ?>
                                <?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'])); ?>
                        </td>
                </tr>
        <?php endforeach; ?>
        </table>
<?php endif; ?>

        <div class="actions">
                <ul>
                        <li><?php echo $this->Html->link(__('New Play Store Link'), array('controller' => 'play_store_links', 'action' => 'add')); ?> </li>
                </ul>
        </div>
</div>