Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="appTransactions index">
        <h2><?php echo __('App Transactions'); ?></h2>
        <table cellpadding="0" cellspacing="0">
        <tr>
                        <th><?php echo $this->Paginator->sort('id'); ?></th>
                        <th><?php echo $this->Paginator->sort('retailer_id'); ?></th>
                        <th><?php echo $this->Paginator->sort('app_id'); ?></th>
                        <th><?php echo $this->Paginator->sort('app_name'); ?></th>
                        <th><?php echo $this->Paginator->sort('cashback_status'); ?></th>
                        <th><?php echo $this->Paginator->sort('redirect_url'); ?></th>
                        <th><?php echo $this->Paginator->sort('cash_back_description'); ?></th>
                        <th><?php echo $this->Paginator->sort('payout_status'); ?></th>
                        <th><?php echo $this->Paginator->sort('overridenCashBack'); ?></th>
                        <th><?php echo $this->Paginator->sort('isCashBackOverriden'); ?></th>
                        <th><?php echo $this->Paginator->sort('transaction_time'); ?></th>
                        <th><?php echo $this->Paginator->sort('payout_time'); ?></th>
                        <th><?php echo $this->Paginator->sort('offer_price'); ?></th>
                        <th><?php echo $this->Paginator->sort('payout_amount'); ?></th>
                        <th><?php echo $this->Paginator->sort('user_payout'); ?></th>
                        <th><?php echo $this->Paginator->sort('payout_description'); ?></th>
                        <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php foreach ($appTransactions as $appTransaction): ?>
        <tr>
                <td><?php echo h($appTransaction['AppTransaction']['id']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['retailer_id']); ?>&nbsp;</td>
                <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['AppTransaction']['cashback_status']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['redirect_url']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['cash_back_description']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['payout_status']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['overridenCashBack']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['isCashBackOverriden']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['transaction_time']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['payout_time']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['offer_price']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['payout_amount']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['user_payout']); ?>&nbsp;</td>
                <td><?php echo h($appTransaction['AppTransaction']['payout_description']); ?>&nbsp;</td>
                <td class="actions">
                        <?php echo $this->Html->link(__('View'), array('action' => 'view', $appTransaction['AppTransaction']['id'])); ?>
                        <?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $appTransaction['AppTransaction']['id'])); ?>
                        <?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $appTransaction['AppTransaction']['id']), null, __('Are you sure you want to delete # %s?', $appTransaction['AppTransaction']['id'])); ?>
                </td>
        </tr>
<?php endforeach; ?>
        </table>
        <p>
        <?php
        echo $this->Paginator->counter(array(
        'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
        ));
        ?>      </p>
        <div class="paging">
        <?php
                echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
                echo $this->Paginator->numbers(array('separator' => ''));
                echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
        ?>
        </div>
</div>
<div class="actions">
        <h3><?php echo __('Actions'); ?></h3>
        <ul>
                <li><?php echo $this->Html->link(__('New App Transaction'), array('action' => 'add')); ?></li>
        </ul>
</div>