Subversion Repositories SmartDukaan

Rev

Rev 33067 | Rev 34066 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
33092 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>#springMessage(
5
                "reportorderstatus.orderstatussummaryreport")</h3>
6
            <ol class="breadcrumb">
7
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage(
8
                    "reportorderstatus.home")</a></li>
9
                <li><i class="icon_document_alt"></i>#springMessage("reportorderstatus.orderstatussummaryreport")</li>
10
            </ol>
11
        </div>
12
    </div>
13
    <br>
14
    #if($isAdmin)
15
        <div class="row col-lg-12" style="float: right;">
16
            <div class="col-lg-2">
17
                <div class="input-group">
18
                    <input placeholder="Enter Partner Name" type="text" class="typeahead form-control"
19
                           id="typeaheadpartner"
20
                           name="Item" data-provide="typeahead" autocomplete="off"
21
                           style="margin-bottom: 10px;margin-left: 22px"> <input id="partnerId"
22
                                                                                 type="hidden">
23
                    <br>
24
                </div>
25
            </div>
26
        </div>
27
    #end
28
    <div class="row col-lg-12" style="float: right;">
29
        #springMessage("reportsofferpayoutdump.from") <input type="date" id="startDate-pending-indent-report"
30
                                                             placeholder="" name="" value="$startDate">
33067 shampa 31
 
33092 tejus.loha 32
        #springMessage("reportsofferpayoutdump.to") <input type="date" id="endDate-pending-indent-report" placeholder=""
33
                                                           value="$endDate">
34
        <button type="submit" class="pending-indent-fetch-report">Fetch Report</button>
35
        <button type="submit" class="download-pending-indent-report">#springMessage(
36
            "reportorderstatus.downloadreport") </button>
37
 
38
    </div>
39
 
30164 manish 40
    <div class="col-lg-12">
41
        <table class="table table-border table-condensed table-bordered" id="pendingIndentReport" style="width:100%">
42
 
43
            <thead class="row htable" style="background:#F5F5F5;">
44
 
45
            <tr style="color:black;">
33092 tejus.loha 46
                <th>#springMessage("reportorderstatus.transactionid")</th>
47
                <th> #springMessage("reportorderstatus.orderid")</th>
48
                <th>#springMessage("reportorderstatus.createdat")</th>
49
                <th>#springMessage("reportorderstatus.itemid")</th>
50
                <th>  #springMessage("reportorderstatus.brand")</th>
51
                <th> #springMessage("reportorderstatus.modelname")</th>
52
                <th>#springMessage("reportorderstatus.modelnumber")</th>
53
                <th>#springMessage("reportorderstatus.color")</th>
54
                <th> #springMessage("reportorderstatus.quantity")</th>
55
                <th>#springMessage("reportorderstatus.unitprice")</th>
56
                <th> #springMessage("reportorderstatus.walletdeduction")</th>
57
                <th>#springMessage("reportorderstatus.status") </th>
58
                <th>#springMessage("reportorderstatus.invoicenumber")</th>
59
                <th>#springMessage("reportorderstatus.billingtimestamp")</th>
60
            </tr>
30164 manish 61
            </thead>
62
            <tbody>
63
                #foreach($pendingIndentReport in $pendingIndentReports )
33092 tejus.loha 64
                <tr>
30164 manish 65
                    <td>$pendingIndentReport.getTransactionId()</td>
66
                    <td>$pendingIndentReport.getOrderId()</td>
33092 tejus.loha 67
 
30164 manish 68
                    #if($pendingIndentReport.getCreatTimestamp())
33092 tejus.loha 69
                        <td>$pendingIndentReport.getCreatTimestamp().format($datehiphenFormatter)</td>
30164 manish 70
                    #else
33092 tejus.loha 71
                        <td>--</td>
30164 manish 72
                    #end
33092 tejus.loha 73
 
30164 manish 74
                    <td>$pendingIndentReport.getItemId()</td>
75
                    <td>$pendingIndentReport.getBrand()</td>
76
                    #if($pendingIndentReport.getModelName())
33092 tejus.loha 77
                        <td>$pendingIndentReport.getModelName()</td>
30164 manish 78
                    #else
33092 tejus.loha 79
                        <td>--</td>
30164 manish 80
                    #end
81
                    <td>$pendingIndentReport.getModelNumber()</td>
82
                    <td>$pendingIndentReport.getColor()</td>
33092 tejus.loha 83
 
30164 manish 84
                    <td>$pendingIndentReport.getQuantity()</td>
85
                    <td>$pendingIndentReport.getUnitPrice()</td>
33092 tejus.loha 86
                    <td>$pendingIndentReport.getWalletAmount()</td>
30164 manish 87
                    <td>$pendingIndentReport.getStatus()</td>
33092 tejus.loha 88
 
89
                    #if($pendingIndentReport.getInvoiceNumber())
90
                        <td>$pendingIndentReport.getInvoiceNumber()</td>
30164 manish 91
                    #else
33092 tejus.loha 92
                        <td>--</td>
30164 manish 93
                    #end
33092 tejus.loha 94
                    #if($pendingIndentReport.getBillingTimestamp())
95
                        <td>$pendingIndentReport.getBillingTimestamp().format($datehiphenFormatter)</td>
30164 manish 96
                    #else
33092 tejus.loha 97
                        <td>--</td>
30164 manish 98
                    #end
33092 tejus.loha 99
 
100
                </tr>
30164 manish 101
                #end
102
 
103
            </tbody>
104
 
105
        </table>
106
    </div>
33092 tejus.loha 107
 
30164 manish 108
</section>
109
 
110
 
111
<script>
112
 
33092 tejus.loha 113
    var dtable = $('#pendingIndentReport').DataTable(
114
            {
115
                "scrollX": true,
116
                "bPaginate": true,
117
                "bLengthChange": true,
118
                "bFilter": true,
119
                "bInfo": false,
120
                "bAutoWidth": false,
121
 
122
 
123
            });
124
 
125
 
126
</script>
127
</script>
128
#if($isAdmin)
129
<script type="text/javascript">
130
    $(function () {
131
        getPartnerAheadOptions($("#typeaheadpartner"), function (selectedPartner) {
132
            partnerId = selectedPartner.partnerId;
133
 
134
            console.log(partnerId);
135
        });
136
    });
137
</script>
138
+#end
30164 manish 139