Subversion Repositories SmartDukaan

Rev

Rev 36242 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
34096 aman.kumar 1
<script type="text/javascript">
2
    $('input[name="walletAddn-duration"]').daterangepicker(getRangedDatePicker());
3
 
4
</script>
5
<style>
6
    .btn:hover {
7
        color: grey;
8
        text-decoration: none;
9
    }
10
 
11
    .btn-primary:hover {
12
        color: grey;
13
        text-decoration: none;
14
    }
15
 
16
    .sale-details {
17
        cursor: pointer;
18
    }
19
</style>
20
 
21
<section class="wrapper">
34261 tejus.loha 22
    <h3 class="page-header"><i class="icon_document_alt"></i>WALLET ADDN-REQUEST/APPROVED</h3>
34096 aman.kumar 23
    <ol class="breadcrumb">
24
        <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
34261 tejus.loha 25
        <li><i class="icon_document_alt"></i>Wallet Addn-Request/Approved</li>
34096 aman.kumar 26
        </li>
34261 tejus.loha 27
 
34096 aman.kumar 28
    </ol>
29
    <div class="row">
34261 tejus.loha 30
        <div class="col-lg-6 form-group">
34096 aman.kumar 31
            <table>
32
                <tr>
33
                    <td style="padding: 5px 10px;"><input placeholder="Duration" id="walletAddn-duration"
34
                                                          name="walletAddn-duration" type="text" value=""
35
                                                          class="form-control phone input-sm"></td>
36
                    <td style="padding: 5px 10px;"><input class="btn btn-primary dateWisewalletAddn" type="button"
37
                                                          value="Submit"></td>
38
                </tr>
39
            </table>
40
        </div>
34261 tejus.loha 41
        <div class="col-lg-6">
42
            <div style="float:right;margin-bottom: 1%">
43
                From:
44
                <input type="date" name="from" placeholder="Form">
45
                To:
46
                <input type="date" name="to" placeholder="To">
47
                <button id="downloadAddWalletRequestApprovedReport" class="btn-primary">
48
                    Download
49
                </button>
50
            </div>
51
        </div>
34096 aman.kumar 52
 
53
    </div>
54
    <div class="walletaddnviewcontainer" style="margin-top: 0; margin-bottom: 0;">
55
    </div>
56
 
36242 aman 57
    <!-- Document View Modal -->
58
    <div class="modal fade" id="walletDocViewModal" role="dialog">
59
        <div class="modal-dialog modal-lg">
60
            <div class="modal-content">
61
                <div class="modal-header">
62
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
63
                    <h4 class="modal-title">Payment Proof</h4>
64
                </div>
65
                <div class="modal-body" style="text-align:center;">
66
                    <img id="wallet-doc-preview" src="" style="max-width:100%; max-height:500px;">
67
                </div>
68
                <div class="modal-footer">
69
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
70
                </div>
71
            </div>
72
        </div>
73
    </div>
74
    <script type="text/javascript">
37498 amit 75
        // Fragment is re-injected with .html(), which re-runs this script; clear the
76
        // namespace first so handlers replace rather than stack.
77
        $(document).off('.addwalletreq');
78
        $(document).on('click.addwalletreq', '.wallet-doc-view-btn', function () {
36242 aman 79
            var docUrl = $(this).data('doc-url');
80
            $('#wallet-doc-preview').attr('src', docUrl);
81
            $('#walletDocViewModal').modal('show');
82
        });
83
    </script>
34096 aman.kumar 84
</section>