Subversion Repositories SmartDukaan

Rev

Rev 35029 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35029 Rev 35039
Line 58... Line 58...
58
                    </div>
58
                    </div>
59
                </div>
59
                </div>
60
                <div style="max-height: 600px;overflow-y: auto;">
60
                <div style="max-height: 600px;overflow-y: auto;">
61
                    <div class="tab-content">
61
                    <div class="tab-content">
62
                        <div id="readyToBill" class="tab-pane fade in active">
62
                        <div id="readyToBill" class="tab-pane fade in active">
-
 
63
                            <div style="margin-bottom: 10px;">
-
 
64
                                <input type="text" id="myInput" placeholder="Search transactions..."
-
 
65
                                       style="width: 98%;margin-top: 10px; padding: 5px;">
-
 
66
                            </div>
-
 
67
 
63
                            <table class="table table-bordered" id="transactionList">
68
                            <table class="table table-bordered" id="transactionList">
64
                                <thead>
69
                                <thead>
65
                                <tr>
70
                                <tr>
66
                                    <th>Txn Id</th>
71
                                    <th>Txn Id</th>
67
                                    <th>Retailer Name</th>
72
                                    <th>Retailer Name</th>
Line 203... Line 208...
203
                    "bAutoWidth": false
208
                    "bAutoWidth": false
204
                }
209
                }
205
        );
210
        );
206
 
211
 
207
    });
212
    });
-
 
213
</script>
-
 
214
<script>
-
 
215
    $(document).ready(function () {
-
 
216
        $("#myInput").on("keyup", function () {
-
 
217
            var value = $(this).val().toLowerCase();
-
 
218
            $("#transactionList tr").filter(function () {
-
 
219
                $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
-
 
220
            });
-
 
221
        });
-
 
222
    });
208
</script>
223
</script>
209
224