<script type="text/javascript">
$(document).ready(function() {
    $('#editabledatatable').dataTable( {
         "destroy": true,
        "ajax": "<?php echo base_url(); ?>sales/reservation/getreservation",
        "lengthMenu": [[20, 50, 100], [20, 50, 100]],
        "language": {
            "lengthMenu": "<?php echo $this->lang->line("DISPLAY"); ?> _MENU_ <?php echo $this->lang->line("RECORDSPERPAGE"); ?>",
            "zeroRecords": "<?php echo $this->lang->line("NOTHINGFOUND"); ?>",
            "info": "<?php echo $this->lang->line("SHOWINGPAGE"); ?> _PAGE_ <?php echo $this->lang->line("OF"); ?> _PAGES_",
            "infoEmpty": "<?php echo $this->lang->line("NORECORDSAVAILABLE"); ?>",
            "infoFiltered": "(<?php echo $this->lang->line("FILTEREDFROM"); ?> _MAX_ <?php echo $this->lang->line("TOTALRECORDS"); ?>)",
            "search": "<?php echo $this->lang->line("SEARCH"); ?> : ",
            "paginate": {
                "previous": "<?php echo $this->lang->line("PREVIOUS"); ?>",
                "next":"<?php echo $this->lang->line("NEXT"); ?>"
            }
        },
        "columns": [
            //{ "data": "ID" },
            { "data": "CREATED" },
            { "data": "DATENEW" },
            { "data": "TITLE" },
            { "data": "CHAIRS" },
            { "data": "DESCRIPTION" },
        ]
    } );
} );

</script>


            <!-- Page Content -->
            <div class="page-content">
        
                <!-- Page Header -->
                <div class="page-header position-relative">
                     <div class="header-title">
                        <h1>
                          <?php echo $this->lang->line("RESERVATIONS"); ?>
                        </h1>
                    </div>
                    <!--Header Buttons-->
                    <div class="header-buttons">
                        <a class="sidebar-toggler" href="#">
                            <i class="fa fa-arrows-h"></i>
                        </a>
                        <a class="refresh" id="refresh-toggler" href="">
                            <i class="glyphicon glyphicon-refresh"></i>
                        </a>
                        <a class="fullscreen" id="fullscreen-toggler" href="#">
                            <i class="glyphicon glyphicon-fullscreen"></i>
                        </a>
                    </div>
                    <!--Header Buttons End-->
                </div>
                <!-- /Page Header -->
                <!-- Page Body -->
                <div class="page-body">
                    <div class="row">
                        <div class="col-xs-12 col-md-12">
                            <div class="widget">
                      
                                <div class="widget-body">
                                    <div class="table-toolbar">
                                      <div class="table-responsive">
                                    <table class="table table-striped table-hover table-bordered editable" id="editabledatatable">
                                        <thead>
                                            <tr role="row">
<!--                                                 <th>
                                                    ID
                                                </th>-->
                                                <th>
                                                    <?php echo $this->lang->line("CREATED"); ?>
                                                </th>
                                                <th>
                                                    <?php echo $this->lang->line("DATE"); ?>
                                                </th>
                                                 <th>
                                                    <?php echo $this->lang->line("TITLE"); ?>
                                                </th>
                                                <th>
                                                    <?php echo $this->lang->line("CHAIRS"); ?>
                                                </th>
                                                <th>
                                                    <?php echo $this->lang->line("DESCRIPTION"); ?>
                                                </th>
                                            </tr>
                                        </thead>
                                    </table>
                                 </div>
                                </div>
                            </div>
                        </div>
                    </div>
                   
                </div>
                <!-- /Page Body -->
            </div>
            <!-- /Page Content -->
        </div>
        <!-- /Page Container -->
        <!-- Main Container -->

    </div>

