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

<?php if(session()->has('message')): ?>
    
<div  class="alert alert-success alert-dismissible" style="font-size:20px;font-weight:bold">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                <h4><i class="icon fa fa-check"></i> Alert </h4>
                <?php echo session('message'); ?>

              </div>
    
<?php endif; ?>

<div class="row" >
        <!-- left column -->
       
        <div class="col-md-8">
          <!-- general form elements -->
          <div class="box box-primary">
            <div class="box-header with-border">
              <h3 class="box-title">Add New Employee  </h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form   role="form" method="POST" action="<?php echo e(url('/customer/create')); ?>">
                        <?php echo e(csrf_field()); ?>

              <div class="box-body">
                
                <div class="form-group">
                  <label for="exampleInputPassword1">First Name</label>
                  <input type="text" name="fname" class="form-control"  placeholder="Employee First Name " required>
                </div>

                <div class="form-group">
                  <label for="exampleInputPassword1">Middle Name</label>
                  <input type="text" name="mname" class="form-control"  placeholder="Employee Middle Name " required>
                </div>
                <div class="form-group">
                  <label for="exampleInputPassword1">Last Name</label>
                  <input type="text" name="lname" class="form-control"  placeholder="Employee Last Name " required>
                </div>


                <div class="form-group">
                  <label for="exampleInputPassword1">Phone 1</label>
                  <input type="number" name="phone1" class="form-control"  placeholder="Employee Phone " required>
                </div>
                <div class="form-group">
                  <label for="exampleInputPassword1">Phone 2</label>
                  <input type="number" name="phone2" class="form-control"  placeholder="Employee Phone " required>
                </div>

                <div class="form-group">
                  <label for="exampleInputPassword1">Hiring Date</label>
                  <input type="date" name="hire_date" class="form-control"  placeholder="Hiring Date" required>
                </div>

                <div class="form-group">
                  <label for="exampleInputPassword1">Date Of Birth</label>
                  <input type="date" name="birth_date" class="form-control"  placeholder="Date Of Birth" required>
                </div>

                <div class="form-group">
                  <label for="exampleInputPassword1">Employee Address</label>
                  <input type="text" name="address" class="form-control"  placeholder="Address" required>
                </div>

                     
              </div>
              <!-- /.box-body -->

              <div class="box-footer">
                <button type="submit" class="btn btn-primary">Save</button>
              </div>
            </form>
          </div>    

        </div>
         
      </div>

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