Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
31433 amit.gupta 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>SCHEME PAYOUT REPORT</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>Scheme PayOut Report</li>
8
            </ol>
9
        </div>
10
    </div>
11
    <div class="row col-lg-12" style="float: right;">
12
 
13
 
14
        From <input type="date" id="startDate-scheme-payout" placeholder="" name="" value="$startDate">
15
 
16
        To <input type="date" id="endDate-scheme-payout" placeholder="" value="$endDate">
17
 
18
        <button type="submit" class="download-scheme-payout-report">Download Report</button>
19
    </div>
20
 
30164 manish 21
    <div class="col-lg-12">
31433 amit.gupta 22
        <table class="table table-border table-condensed table-bordered" id="schemePayoutReportDtable"
23
               style="width:100%">
30164 manish 24
 
25
            <thead class="row htable" style="background:#F5F5F5;">
26
            <tr style="color:black;">
31433 amit.gupta 27
 
28
                <th>serial_number</th>
29
                <th>Brand</th>
30
                <th>Model Name</th>
31
                <th>Model Number</th>
32
 
33
                <th>Color</th>
34
                <th> Scheme_IN_DP</th>
35
                <th>Scheme_out_dp</th>
36
                <th>Scheme_Id</th>
37
 
38
                <th>Name</th>
39
                <th>Type</th>
40
 
41
                <th>Purchase_Invoice</th>
42
 
43
 
44
                <th>SALE_INOVOICE</th>
45
                <th>Amount</th>
46
                <th>status</th>
47
 
48
                <th>description</th>
49
                <th>create_timestamp</th>
50
                <th>rolled_back_timestamp</th>
51
 
52
            </tr>
30164 manish 53
            </thead>
54
            <tbody>
55
                #foreach($schemePayoutReport in $schemePayoutReports )
31433 amit.gupta 56
                <tr>
57
 
30164 manish 58
                    #if($schemePayoutReport.getSerialNumber())
31433 amit.gupta 59
                        <td> $schemePayoutReport.getSerialNumber()</td>
30164 manish 60
                    #else
31433 amit.gupta 61
 
62
                        <td>--</td>
30164 manish 63
                    #end
64
                    <td>$schemePayoutReport.getBrand()</td>
65
                    <td>$schemePayoutReport.getModelName()</td>
66
                    <td>$schemePayoutReport.getModelNumber()</td>
31433 amit.gupta 67
 
68
 
30164 manish 69
                    <td>$schemePayoutReport.getColor()</td>
70
                    <td>$schemePayoutReport.getSchemeInDp()</td>
71
                    <td>$schemePayoutReport.getSchemeOutDp()</td>
72
                    <td>$schemePayoutReport.getSchemeId()</td>
31433 amit.gupta 73
 
30164 manish 74
                    <td>$schemePayoutReport.getName()</td>
75
                    <td>$schemePayoutReport.getType()</td>
31433 amit.gupta 76
 
30164 manish 77
                    <td>$schemePayoutReport.getPurchaseReference()</td>
31433 amit.gupta 78
 
79
                    <td>
80
                        #if($schemePayoutReport.getInvoiceNumber())
81
                            $schemePayoutReport.getInvoiceNumber()
82
                        #else
83
                            -
84
                        #end
85
 
86
                    </td>
87
 
30189 manish 88
                    <td>$nf.format($schemePayoutReport.getSioAmount())</td>
30164 manish 89
                    <td>$schemePayoutReport.getStatus()</td>
31433 amit.gupta 90
 
30189 manish 91
                    #if($schemePayoutReport.getStatusDescription())
31433 amit.gupta 92
                        <td>$schemePayoutReport.getStatusDescription()</td>
93
 
30189 manish 94
                    #else
31433 amit.gupta 95
                        <td>--</td>
30189 manish 96
                    #end
30183 manish 97
                    <td>$schemePayoutReport.getCreateTimestamp().format($datehiphenFormatter)</td>
31433 amit.gupta 98
 
30164 manish 99
                    #if($schemePayoutReport.getRolledBackTimestamp())
31433 amit.gupta 100
 
101
                        <td>$schemePayoutReport.getRolledBackTimestamp().format($datehiphenFormatter)</td>
30164 manish 102
                    #else
31433 amit.gupta 103
                        <td> --</td>
30164 manish 104
                    #end
31433 amit.gupta 105
 
106
 
107
                </tr>
30164 manish 108
                #end
109
 
110
            </tbody>
111
 
112
        </table>
113
    </div>
31433 amit.gupta 114
 
30164 manish 115
</section>
116
 
117
 
118
<script>
119
 
31433 amit.gupta 120
    var dtable = $('#schemePayoutReportDtable').DataTable(
121
            {
122
                "scrollX": true,
123
                "bPaginate": true,
124
                "bLengthChange": true,
125
                "bFilter": true,
126
                "bInfo": false,
127
                "bAutoWidth": false,
128
 
129
 
130
            });
131
 
132
 
133
</script>
30164 manish 134