Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="appTransactions index">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
        <h2><?php echo __('App Transactions For Retailer Id '.$retailerId); ?></h2>
        <table cellpadding="0" cellspacing="0" class="table table-striped">
        <tr>
                        <th><?php echo $this->Paginator->sort('app_id'); ?></th>
                        <th><?php echo $this->Paginator->sort('app_name'); ?></th>
                        <th><?php echo $this->Paginator->sort('clicks'); ?></th>
                        <th><?php echo $this->Paginator->sort('approved'); ?></th>
                        <th><?php echo $this->Paginator->sort('conversion_percentage'); ?></th> 

        </tr>

        <?php foreach ($appTransactions as $appTransaction): ?>
        <tr>
                <td><?php echo h($appTransaction['AppTransaction']['app_id']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['app_name']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction[0]['count']); ?>&nbsp;</td>
                <td><?php if(!isset($appTransaction['AppTransaction']['approved'])){echo h('0');}else{echo h($appTransaction['AppTransaction']['approved']);}; ?>&nbsp;</td>
                <td><?php if(!isset($appTransaction['AppTransaction']['conversion_percentage'])){echo h('0');}else{echo h($appTransaction['AppTransaction']['conversion_percentage']);}; ?>&nbsp;</td>
<?php endforeach; ?>
        </table>
</div>