\!/ KyuuKazami \!/

Path : /home/kohli/public_html/application/views/user/
Upload :
Current File : /home/kohli/public_html/application/views/user/orders.php

<div class="main">
    <div class="container">
        <ul class="breadcrumb">
            <li><a href="index.html">Home</a></li>
            <li><a href="#">Store</a></li>
            <li class="active">My Orders</li>
        </ul>
        <!-- BEGIN SIDEBAR & CONTENT -->
        <div class="row margin-bottom-40">
            <!-- BEGIN SIDEBAR -->
            <?php $this->load->view("layout/myaccount_sidebar_block")?>
            <!-- END SIDEBAR -->

            <!-- BEGIN CONTENT -->
            <div class="col-md-9 col-sm-7">
                <h1>My Orders</h1>
                <div class="goods-page">
                    <div class="goods-data clearfix">
                        <?php $this->load->view("messages");?>
                        <div class="table-wrapper-responsive">                                
                            <table summary="My Orders" class="my-orders">
                                <tr>
                                    <th class="goods-page-stock">Order Id</th>
                                    <th class="goods-page-stock">Order Date</th>
                                    <th class="goods-page-stock">Payment Method</th>
                                    <th class="goods-page-stock">Payment Status</th>
                                    <th class="goods-page-stock">Order Status</th>
                                    <th class="goods-page-stock">Shipping</th>
                                    <th class="goods-page-stock">Discount</th>
                                    <th class="goods-page-stock">Total Amount</th>
                                    <th class="goods-page-stock">Detail</th>
                                </tr>
                                <?php
                                foreach($order_list as $row){
                                    ?>
                                    <tr>
                                        <td class="bold">#<?php echo $row->order_id ?></td>
                                        <td><?php echo $row->order_date ?></td>
                                        <td><?php echo $row->gateway_detail ?></td>
                                        <td><?php echo $row->payment_status_detail ?></td>
                                        <td><?php echo $row->status_detail ?></td>
                                        <td><?php echo $this->common_lib->currency_price($row->shipping) ?></td>
                                        <td><?php echo $this->common_lib->currency_price($row->promo_discount) ?></td>
                                        <td><?php echo $this->common_lib->currency_price($row->order_amount) ?></td>
                                        <td class="bold"><a href="<?php echo site_url('user/order_detail/'.$row->order_id)?>">Detail</a></td>
                                    </tr>
                                    <?php
                                }
                                ?>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
          <!-- END CONTENT -->
        </div>
        <!-- END SIDEBAR & CONTENT -->
    </div>
</div>

@KyuuKazami