Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
34527 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>HDFC Payments Reports</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>HDFC Payments Reports</li>
8
            </ol>
9
        </div>
10
    </div>
11
 
12
    <div id="dateRangeDiv" style="float: right">
13
        Transfer Mode:
14
        <select name="transferModeSelector">
15
            #foreach($transferMode in $transferModeList)
16
                <option value="$transferMode" #if($transferMode==$mode) selected #end >$transferMode</option>
17
            #end
18
        </select>
19
        From:
20
        <input type="date" name="from" id="chartForm" value="$startDate">
21
        To:
22
        <input type="date" name="to" id="chartTo" value="$endDate">
23
        <button type="button" id="viewHdfcPaymentsReport" class="btn-success">Veiw Report</button>
24
    </div>
25
    <div>
26
        <table class="table table-bordered table-responsive" id="HdfcPaymentsTable">
27
            <thead>
28
            <tr>
29
                <th>UTR</th>
30
                <th>Transaction Id</th>
31
                <th>Amount</th>
32
                <th>Partner Name</th>
33
                <th>Transfer Mode</th>
34
                <th>Credit Time</th>
35
                <th>Create Time</th>
36
            </tr>
37
            </thead>
38
            <tbody>
39
                #foreach($upiPayment in $hdfcPaymentModels)
40
                <tr>
41
                    <td>$upiPayment.getUtr()</td>
42
                    <td>$upiPayment.getTransactionId()</td>
43
                    <td>$upiPayment.getAmount()</td>
44
                    <td>$upiPayment.getName()</td>
45
                    <td>$upiPayment.getTransferMode()</td>
46
                    <td>$upiPayment.getCreditTimestamp().format($dateTimeFormatter)</td>
47
                    <td>$upiPayment.getCreateTimestamp().format($dateTimeFormatter)</td>
48
                </tr>
49
                #end
50
            </tbody>
51
        </table>
52
    </div>
53
</section>
54
<script>
55
    $(document).ready(function () {
56
        var dtable = $('#HdfcPaymentsTable').DataTable({
57
            "scrollX": true,
58
            "scrollY": "500px",
59
            scrollCollapse: true,
60
        });
61
    });
62
</script>