<?php $__env->startSection('addCss'); ?>
    <style media="screen">
        fieldset {
            border: 1px solid #ddd !important;
            padding: 10px;
            margin-bottom: 20px;
        }
        legend { font-size: 14px; border-bottom: 0; width: inherit; border: 1px solid #ddd; padding: 5px; margin-bottom: 0;}
    </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<section class="content-header">
  <h1>
    <?php echo Trans('customers.menu'); ?>

    <small><?php echo Trans('customers.show'); ?></small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="/"><i class="fa fa-dashboard"></i> <?php echo Trans('dashboard.home'); ?></a></li>
    <li><a href="<?php echo Route('loan_customers.index'); ?>"><i class="fa fa-user-plus"></i> <?php echo Trans('customers.menu'); ?></a></li>
    <li class="active"><?php echo Trans('customers.show'); ?></li>
  </ol>
</section>
<!-- Main content -->
<section class="content">
<?php echo $__env->make('layouts.includes.message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<div class="row">
  <div class="col-md-12">
    <div class="box">
    <?php echo Form::open(['route' => 'loan_customers.store', "files" => true]); ?>

    <div class="box-header with-border">
        <h3 class="box-title"><?php echo trans("customers.add"); ?></h3>
    </div>
    <div class="box-body">
        <?php echo $__env->make('customers.form.customer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    </div>
     <div class="box-footer">
         <div class="col-md-9">
             <div class="pull-right">
                 <button type="reset" name="reset" class="btn btn-defaul"><?php echo trans('dashboard.crud.cancel'); ?></button>
                 <button type="submit" name="button" class="btn btn-primary"><?php echo trans('dashboard.crud.add'); ?></button>
             </div>
         </div>
      <?php echo Form::close(); ?>

     </div>
    </div>
  </div>
 </div>
</section>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('addJs'); ?>
<?php echo HTML::script('plugins/datepicker/bootstrap-datepicker.js'); ?>

<?php echo HTML::script('plugins/datepicker/locales/bootstrap-datepicker.kh.js'); ?>

<?php echo HTML::script('https://pixlcore.com/demos/webcamjs/webcam.min.js'); ?>

<?php echo HTML::script('production/js/webcam.js'); ?>

<script>
  $('#dob, #date_of_stay').datepicker({
    format: "dd/mm/yyyy",
    todayHighlight: true
  });
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.production', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>