
<footer class="footer">
    <div class="container-fluid">
        <p class="copyright pull-right">
            &copy; {{date('Y')}} <a href="">AckoSoft</a> Limited
        </p>
    </div>
</footer>

</div>
</div>

</body>

<script type="text/javascript">
    $().ready(function(){
        @if(Session::get('error'))
                $.notify({
            icon: 'pe-7s-bell',
            message: "{{Session::get('error')}}"

        },{
            type: 'warning',
            timer: 3000
        });
        @elseif(Session::get('success'))
        $.notify({
            icon: 'pe-7s-bell',
            message: "{{Session::get('success')}}"

        },{
            type: 'success',
            timer: 3000
        });

        @elseif(Session::get('info'))
        $.notify({
            icon: 'pe-7s-bell',
            message: "{{Session::get('info')}}"

        },{
            type: 'info',
            timer: 3000
        });
        @endif
    });
    $('[rel="tooltip"]').tooltip({
        trigger : 'hover', //on mouse out it will disappear
        delay:{show:300}
    })
</script>



<!-- Light Bootstrap Dashboard Core javascript and methods -->
<script src="{{asset('public/js/bootstrap-notify.js')}}"></script>
<script src="{{asset('public/js/light-bootstrap-dashboard.js')}}"></script>
<script src="{{asset('public/js/bootstrap-table.js')}}"></script>
<script src="{{asset('public/js/jquery.datatables.js')}}"></script>


<script src="{{asset('public/js/moment.min.js')}}"></script>

<script src="{{asset('public/js/fullcalendar.min.js')}}"></script>

<!--  Checkbox, Radio, Switch and Tags Input Plugins -->
<script src="{{asset('public/js/bootstrap-checkbox-radio-switch-tags.js')}}"></script>
<script src="{{asset('public/js/bootstrap-datetimepicker.js')}}"></script>
<script src="{{asset('public/js/sweetalert2.js')}}"></script>


<script type="text/javascript">
    var today= new Date();
    $('.fromdatepicker').datetimepicker({
        format: 'YYYY-MM-DD',
        viewMode: "months",
        maxDate: today,
        icons: {
            time: "fa fa-clock-o",
            date: "fa fa-calendar",
            up: "fa fa-chevron-up",
            down: "fa fa-chevron-down",
            previous: 'fa fa-chevron-left',
            next: 'fa fa-chevron-right',
            today: 'fa fa-screenshot',
            clear: 'fa fa-trash',
            close: 'fa fa-remove'
        }
    });
    $('.todatepicker').datetimepicker({
        format: 'YYYY-MM-DD',
        viewMode: "months",
        maxDate: new Date(today.getFullYear(), today.getMonth() + 2, 0), //last date of month if +2 thant means next month
        icons: {
            time: "fa fa-clock-o",
            date: "fa fa-calendar",
            up: "fa fa-chevron-up",
            down: "fa fa-chevron-down",
            previous: 'fa fa-chevron-left',
            next: 'fa fa-chevron-right',
            today: 'fa fa-screenshot',
            clear: 'fa fa-trash',
            close: 'fa fa-remove'
        }
    });
    $('.datepicker').datetimepicker({
        format: 'YYYY-MM-DD',
        icons: {
            time: "fa fa-clock-o",
            date: "fa fa-calendar",
            up: "fa fa-chevron-up",
            down: "fa fa-chevron-down",
            previous: 'fa fa-chevron-left',
            next: 'fa fa-chevron-right',
            today: 'fa fa-screenshot',
            clear: 'fa fa-trash',
            close: 'fa fa-remove'
        }
    });

    var table= $('#datatable').DataTable({
        "pagingType": "full_numbers",
        "lengthMenu": [[31, 61, 125, -1], [31, 61, 125, "All"]],
        responsive: true,
        language: {
            search: "_INPUT_",
            searchPlaceholder: "Search records",
        }

    });
    $('.datatable').DataTable({
        "pagingType": "full_numbers",
        "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
        responsive: true,
        language: {
            search: "_INPUT_",
            searchPlaceholder: "Search records",
        }

    });

</script>
@include('backend._partials.modal')
@include('backend._partials.messages')
</html>
