<<<<<<< 8c98d41a67e0ec45e1fd64b04b779360352c1dcf
@extends('Layout.Employeesmaster')

@section('title', 'Employees')
=======
@extends('Layout.employees_master')

@section('title', 'Employees')

>>>>>>> Storing employee info
@section('header-include')
<link rel="stylesheet" href="/js/select3/bootstrapselect.min.css" type="text/css"/>
<link rel="stylesheet" href="/js/select3/bootstrap.min.css" type="text/css"/>
<style>
<<<<<<< 8c98d41a67e0ec45e1fd64b04b779360352c1dcf
  form {
=======
form {
>>>>>>> Storing employee info
    border-radius: 5px; 
    width:100%;   
    background-color: #FFFFFF;
    overflow: hidden;
  }

  p span {
    color: #F00;
  }

  p {
    margin: 0px;
    font-weight: 500;
    line-height: 2;
    color:#333;
  }

  a {
    text-decoration:inherit
  }


  .form-group {
    overflow: hidden;
    clear: both;
  }
  .form-control {
      
      position:relative;
      clear: both;    
      margin-top: 2px;
      display:inline-inline;    
      margin-right: 10px;
  }
<<<<<<< 8c98d41a67e0ec45e1fd64b04b779360352c1dcf
=======
  .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
  }
>>>>>>> Storing employee info
  .panel-row {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }
<<<<<<< 8c98d41a67e0ec45e1fd64b04b779360352c1dcf
  </style>

@endsection
@section('content')
<section id="content">    
  <section class="scrollable padder">
    <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
      <li><a href="/kinetics"><i class="fa fa-home"></i> Home</a></li>
      <li><a href="/employees">Employees</a></li>
      <li class="active">Add</li>
    </ul> 
    @include('Layout.errors')
    @include('Layout.messages')

    <div class="container-fluid"  style="margin-bottom:0px;">  
    <div class="container-fluid"  style="margin-bottom:0px;">  
        <div class=col-md-3 id=tabLinks style="width:13.5%">
          <ul class="list-group">
            <li class="list-group-item active" ><a href="{{ route('employees.create') }}">Employee Info</a></li> 
            <li class="list-group-item "><a href="#personal" class="tab" onclick="tabswitch(this)">Personal</a></li>               
            <li class="list-group-item "><a href="#salary" class="tab" onclick="tabswitch(this)">Salary</a></li>  
            <li class="list-group-item "><a href="#training" class="tab" onclick="tabswitch(this)">Training and Certification</a></li>                                       
          </ul>
        </div> 
   

        
=======
  ul {
    list-style-type: none;
  }
</style>
@endsection
@section('content')
<section id="content">    
      <section class="scrollable padder">
        <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
        <li><a href="/kinetic"><i class="fa fa-home"></i> Home</a></li>
          <li><a href="{{route('employees.index')}}">Employees</a></li>
          <li><a href="{{route('employees.edit',$employee->id)}}">Edit Employees</a></li>
          <li class="active">Dependants</li>
        </ul>   
        @include('Layout.errors')
        @include('Layout.messages')  
            <div class="container-fluid"  style="margin-bottom:0px;">  
                <div class=col-md-3 id=tabLinks style="width:13.5%">
                  <ul class="list-group">
                    <li class="list-group-item active" ><a href="{{ route('employees.edit',$employee->id) }}">Employee Info</a></li> 
                    <li class="list-group-item "><a href="{{route('personal',$employee->id)}}">Personal</a></li>               
                    <li class="list-group-item "><a href="{{route('salary',$employee->id)}}">Salary</a></li>  
                    <li class="list-group-item "><a href="{{route('contact',$employee->id)}}">Contact</a></li>                                                                           
                  </ul>
                </div> 
                <div class=col-md-6  style="width:86.5%;"> 
                  <div class="table-responsive" style="padding:0px 5px 5px 10px">
                      <table class="table table-striped m-b-sm datagrid">
                      @if(count($dependants)>0)
                      <thead>
                        <tr>
                          <th>Name</th>
                          <th>Phone No.</th>
                          <th>Email</th>
                          <th>Relation</th>
                          <th>Action</th>
                        </tr>
                      </thead>
                      <tbody>
                      @foreach($dependants as $dependant)
                      <tr class="dependants{{$dependants->id}}">
                        <td>{{$dependant->name}}</td>
                        <td>{{$dependant->phone_no}}</td>
                        <td>{{$dependant->email}}</td>
                        <td>{{$dependant->relation}}</td>
                        <td>
                        <form action="{{ route('employees.store') }}" method="post" style=position:relative;float:right>
                            @csrf
                            @method('DELETE')
                            <a href="" ><span class="btn btn-default"><i class="fa fa-edit no-margin"></i></span></a>  
                            <button data-toggle="tooltip" data-placement="top" title="Delete" type="submit" class="btn btn-danger" onclick="return confirm('Are you sure you want to delete this item?');"><i class="fa fa-trash no-margin"></i></button>
                        </form>
                        </td>
                      </tr>  
                      @endforeach
                      @else                     
                      <tr>
                          <td colspan="2" class="text-center">Nothing to display</td>
                      </tr>
                      @endif
                      </tbody>
                      </table>
                  </div> 
                </div>
            </div>
      </section>
</section>        
@endsection
@section('footer-include')
<script src="/js/select3/bootstrapselect.min.js"></script>
<script src="/js/select3/bootstrap.min.js"></script>
@endsection

@section('j-script')
<!-- Jquery -->
@endsection



>>>>>>> Storing employee info
