<link rel="stylesheet" href="<?php echo MOD_URL.$module;?>/assets/css/custom.css">
<div class="row" id="booking_list">
    <div class="col-md-12 mb-3">
        <div class="card">
            <?php if($this->permission->method('room_reservation','create')->access()): ?>
            <div class="card-header">
                <h4><?php echo display('booking_list')?><small class="float-right"><a href="#" id="reservationbtn"
                            class="btn btn-primary btn-md"><i class="ti-plus" aria-hidden="true"></i>
                            <?php echo display('room_booking')?></a></small></h4>
            </div>
            <div class="row">
                <!--  table area -->
                <div class="col-sm-12">
                    <div class="card-body">
                        <div class="table-responsive">
                            <table width="100%" class="datatable table table-striped table-bordered table-hover"
                                id="bookingdetails">
                                <thead>
                                    <tr>
                                        <th><?php echo display('sl_no') ?></th>
                                        <th><?php echo display('booking_number') ?></th>
                                        <th><?php echo display('room_name') ?></th>
                                        <th><?php echo display('room_no') ?></th>
                                        <th><?php echo display('name') ?></th>
                                        <th><?php echo display('phone') ?></th>
                                        <th><?php echo display('check_in') ?></th>
                                        <th><?php echo display('check_out') ?></th>
                                        <th><?php echo display('paid_amount') ?></th>
                                        <th><?php echo display('due_amount') ?></th>
                                        <th><?php echo display('booking_status') ?></th>
                                        <th><?php echo display('payment_status') ?></th>
                                        <th><?php echo display('action') ?></th>
                                    </tr>
                                </thead>
                            </table> <!-- /.table-responsive -->
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; ?>
        </div>
    </div>
</div>
<div id="edit" class="modal fade" role="dialog">
    <div class="modal-dialog modal-md">
        <div class="modal-content">
            <div class="modal-header">
                <strong><?php echo display("cancels_reservation") ?></strong>
                <button type="button" class="close" data-dismiss="modal">&times;</button>
            </div>
            <div class="modal-body editinfo">
            </div>
        </div>
        <div class="modal-footer">
        </div>
    </div>
</div>
<div id="newreservation">
</div>
<div id="printreservation" hidden>
</div>
<script src="<?php echo MOD_URL.$module;?>/assets/js/reservationList.js"></script>