Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="orders view">
<h2><?php echo __('Order'); ?></h2>
        <dl>
                <dt><?php echo __('Id'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['id']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('User'); ?></dt>
                <dd>
                        <?php echo $this->Html->link($order['User']['username'], array('controller' => 'users', 'action' => 'view', $order['User']['id'])); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Store'); ?></dt>
                <dd>
                        <?php echo $this->Html->link($order['Store']['name'], array('controller' => 'stores', 'action' => 'view', $order['Store']['id'])); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Store Order Id'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['store_order_id']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Order Url'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['order_url']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Rawhtml'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['rawhtml']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Product Name'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['product_name']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Product Code'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['product_code']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Unit Price'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['unit_price']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Total Amount'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['total_amount']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Customer Name'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['customer_name']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Customer Email'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['customer_email']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Customer Mobile'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['customer_mobile']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Customer Address'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['customer_address']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Status'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['status']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Created'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['created']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Modified'); ?></dt>
                <dd>
                        <?php echo h($order['Order']['modified']); ?>
                        &nbsp;
                </dd>
        </dl>
</div>
<div class="actions">
        <h3><?php echo __('Actions'); ?></h3>
        <ul>
                <li><?php echo $this->Html->link(__('Edit Order'), array('action' => 'edit', $order['Order']['id'])); ?> </li>
                <li><?php echo $this->Form->postLink(__('Delete Order'), array('action' => 'delete', $order['Order']['id']), null, __('Are you sure you want to delete # %s?', $order['Order']['id'])); ?> </li>
                <li><?php echo $this->Html->link(__('List Orders'), array('action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Order'), array('action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Stores'), array('controller' => 'stores', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Store'), array('controller' => 'stores', 'action' => 'add')); ?> </li>
        </ul>
</div>