Subversion Repositories SmartDukaan

Rev

Rev 32912 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32912 Rev 33455
Line 1... Line 1...
1
<script type="text/javascript">
1
<script type="text/javascript">
2
    $(function () {
2
    $(function () {
3
        getVendorAheadOptions($("#typeaheadVendor"), function (selectedVendor) {
3
        getVendorAheadOptions($("#typeaheadVendor"), function (selectedVendor) {
4
            $('#vendorId').val(selectedVendor.id + "");
4
            $('#vendorId').val(selectedVendor.id + "");
5
 
-
 
6
        });
5
        });
7
 
6
 
8
 
-
 
-
 
7
        // Set the max date for the actualDate input to today
-
 
8
        var today = new Date().toISOString().split('T')[0];
-
 
9
        $('#actualDate').attr('max', today);
9
    });
10
    });
10
 
11
 
11
    $(document).ready(function () {
12
    $(document).ready(function () {
12
 
-
 
13
        var dtable = $('#open-invoices').DataTable({});
13
        var dtable = $('#open-invoices').DataTable({});
14
 
-
 
15
    });
14
    });
16
</script>
15
</script>
17
 
16
 
18
<section class="wrapper">
17
<section class="wrapper">
19
    <div class="row">
18
    <div class="row">