Subversion Repositories SmartDukaan

Rev

Rev 34143 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33213 tejus.loha 1
<section class="wrapper">
2
    <div class="row">
3
        <div class="col-lg-12">
4
            <h3 class="page-header"><i class="icon_document_alt"></i>Pending Approval</h3>
5
            <ol class="breadcrumb">
6
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
7
                <li><i class="icon_document_alt"></i>Approval</li>
8
            </ol>
9
        </div>
10
    </div>
11
    <div class="col-lg-12">
12
        #foreach( $transactionApprovalModel in $approvalModelList)
13
            <div>
14
                <table class="table table-border table-condensed table-bordered " id="transactionApproval"
15
                       style="width:100%">
16
                    <thead class="row htable" style="background:#F5F5F5;">
17
 
18
                    <tr style="color:black;">
19
                        <th>Transaction Details</th>
20
                        <th style="text-align: center">Order Details</th>
21
                        <th style="width: 20%; text-align: center">Remarks</th>
22
                    </tr>
23
                    </thead>
24
                    <tbody>
25
                    <tr>
26
                        <td class="approvalTransactionId">
27
                            <b>Transaction Id :-</b><br><span
28
                                class="mk-transactionId">$transactionApprovalModel.getTransactionId()</span>
29
                            <br><br>
30
                            <b>Created By :- </b><br>$transactionApprovalModel.getCreatedBy()<br><br>
31
                            <b> Created On
32
                                :- </b><br>$transactionApprovalModel.getCreatedOn().format($dateTimeFormatter)
33
                            <br><br>
34
                            <b> Retailer Name :- </b><br>$transactionApprovalModel.getRetailerName()</td>
35
                        <td>
36
                            <table class="table table-bordered table-advance">
37
                                <thead style="background:#F5F5F5;">
38
                                <tr>
39
                                    <th>Item Id</th>
40
                                    <th> Item Name</th>
41
                                    <th> Quantity</th>
42
                                    <th> DP</th>
43
                                    <th>Total Dp</th>
44
                                    <th> Selling Price</th>
45
                                    <th>Total Selling Price</th>
46
                                    <th>Diffrence</th>
47
                                </tr>
48
                                </thead>
49
                                <tbody>
50
                                    #foreach($orderDetail in $transactionApprovalModel.getLineItemModels())
51
                                    <tr>
52
                                        <td>$orderDetail.getItemId()</td>
53
                                        <td>$orderDetail.getItemName()</td>
54
                                        <td>$orderDetail.getItemQuantity()</td>
55
                                        <td>$orderDetail.getDp()</td>
56
                                        <td>$orderDetail.getTotalDp()</td>
57
                                        <td>$orderDetail.getSellingPrice()</td>
58
                                        <td>$orderDetail.getTotalSellingPrice()</td>
59
                                        <td>$orderDetail.getDifference()</td>
60
                                    </tr>
61
                                    #end
62
                                </tbody>
63
                            </table>
64
                        </td>
65
                        <td style="vertical-align: middle;">
66
                            <textarea placeholder="Add Remark" rows="3" class="remark-box form-control"></textarea>
67
                            <div class="clearfix"></div>
68
                            <br>
69
                            <button class="transactionApprovalApproved btn btn-success"
70
                                    data-approval="APPROVED">Approve
71
                            </button>
72
                            <button class="transactionApprovalRejected btn btn-danger"
73
                                    data-approval="REJECTED">Reject
74
                            </button>
75
                        </td>
76
                    </tr>
77
                    </tbody>
78
                </table>
79
            </div>
80
        #end
81
    </div>
82
</section>
83
<style>
84
    b {
85
        color: #688a7e;
86
 
87
    }
88
</style>
89