<?php $__env->startSection('title'); ?>
SO DO PHONG
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<div class="row">
    <?php for($i = 1; $i < 19; $i++): ?>
    <div class="col-lg-4">
        <div class="panel panel-info">
            <div class="panel-heading">
                <span class="pull-left">PHONG <?php echo e($i); ?></span>
                <span class="pull-right"><i class="fa fa-plus-square" data-toggle="modal" data-target="#myModal"></i></span>
                <div class="clearfix"></div>
            </div>
            <div class="panel-body">
                <li>Name: MAI XUAN PHU</li>
                <li>ID: 230773817</li>
                <li>From: <?php echo e(date("d-m-Y")); ?> - Hour: <b><?php echo e(date("H:i:s")); ?></b></li>
                <li>To: <?php echo e(date("d-m-Y")); ?> - Hour: <b><?php echo e(date("H:i:s")); ?></b></li>
            </div>
            <div class="panel-footer text-right">
                <strong>Total: <?php echo e(number_format(253665,0)); ?></strong>
            </div>
        </div>
    </div>
    <?php endfor; ?>
</div>


<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">CAC DICH VU</h4>
            </div>
            <div class="modal-body">
                <form role="form" method="post" action="<?php echo e(Asset('admin/categories/create')); ?>">
                    <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
                    <div class="form-group">
                        <label>Name</label>
                        <input class="form-control" name="name">
                    </div>
                    <div class="form-group">
                        <label>Position</label>
                        <input class="form-control" name="position">
                    </div>
                   <!--  <button type="submit" class="btn btn-default">Submit</button> -->
                <!-- </form> -->
                Lorem ipsum dolor sittempor incididunt ut labore equis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                <button type="submit" class="btn btn-primary">Save changes</button>
            </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!-- /.modal -->



<!-- Include Required Prerequisites -->
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/momentjs/latest/moment.min.js"></script>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/latest/css/bootstrap.css" />
 
<!-- Include Date Range Picker -->
<script type="text/javascript" src="//cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.js"></script>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.css" />

<script type="text/javascript">
$('#dob').daterangepicker({
    "singleDatePicker": true,
    "minDate": 0,
    locale: {
            format: 'DD/MM/YYYY'
    }
}, function(start, end, label) {
  console.log("New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')");
});

$('#date_from').daterangepicker({
    "singleDatePicker": true,
    "minDate": moment(),
    locale: {
            format: 'DD/MM/YYYY'
    },
    beforeShow: function() {
    $(this).datepicker('option', 'maxDate', $('#date_to').val());
  }
}, function(start, end, label) {
  console.log("New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')");
});

$('#date_to').daterangepicker({
    "singleDatePicker": true,
    locale: {
            format: 'DD/MM/YYYY'
    },
    beforeShow: function() {
        $(this).datepicker('option', 'minDate', $('#date_from').val());
        if ($('#date_from').val() === '') $(this).datepicker('option', 'minDate', 0);                             
     }
}, function(start, end, label) {
  console.log("New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')");
});

</script>

<script src="<?php echo e(Asset('public/template/admin/js/bootstrap-timepicker.js')); ?>"></script>
<link href="<?php echo e(Asset('public/template/admin/dist/css/bootstrap-timepicker.css')); ?>" rel="stylesheet">
<script type="text/javascript">
    $('#timepicker1').timepicker();
    $('#timepicker2').timepicker();
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('template.admin', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>