Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
35503 vikas 1
<section class="wrapper">
2
 
3
    <div class="row">
4
        <div class="col-lg-12">
5
            <h3 class="page-header"><i class="icon_document_alt"></i>Shopify Orders</h3>
6
            <ol class="breadcrumb">
7
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Dashboard</a></li>
8
                <li><i class="icon_document_alt"></i>Shopify Orders</li>
9
            </ol>
10
        </div>
11
    </div>
12
 
13
    <table class="table table-bordered table-sortable" id="orders">
14
        <thead>
15
            <tr>
16
                <th>Order ID</th>
17
                <th>Order Date</th>
18
                <th>Items</th>
19
                <th>Total Amount</th>
20
                <th>Payment Status</th>
21
                <th>Order Status</th>
22
                <th>Actions</th>
23
            </tr>
24
        </thead>
25
        <tbody>
26
        #if($orders.size() > 0)
27
            #foreach($order in $orders)
28
            <tr>
29
                <td>$order.getName()</td>
30
                <td>$order.getCreatedAt()</td>
31
                <td>$order.getItems()</td>
32
                <td>$order.getTotalPriceSet().getShopMoney().getCurrencyCode() $order.getTotalPriceSet().getShopMoney().getAmount()</td>
33
                <td>$order.getDisplayFinancialStatus()</td>
34
                <td>$order.getDisplayFulfillmentStatus()</td>
35
                <td>
36
                    <button type="button" class="btn btn-primary order-detail" data-id="${order.getId()}">Confirm Order</button>
37
                </td>
38
            </tr>
39
            #end
40
        #else
41
            <tr>
42
                <td colspan="7">No Orders Found</td>
43
            </tr>
44
        #end
45
        </tbody>
46
    </table>
47
</section>