@extends('layouts.dashboard')

@section('page_title')
	HR
@endsection

@section('page_header_title')
HR
@endsection



@section('page_body')
{{ Breadcrumbs::render('hr') }}
<div class="row row-cards row-deck">
	  @if(Auth::user()->hasAnyPermission(['All','View Department']))
              <div class="col-md-3 col-sm-6">
                 <a  href="{{route('departments')}}" style = "text-decoration: none;" >
                <div class="card box" >
             
                      <div class="card-status card-status-left bg-blue"></div>
                  <div class="card-body report-card text-center">
                    
                    <div class ="col-md-12">
                        <h4> Departments</h4>
                         </div>
                  
                  </div>
                </div>
</a>
              </div>
              @endif

                  @if(Auth::user()->hasAnyPermission(['All','View Employee']))
              <div class="col-md-3 col-sm-6">
                 <a  href="{{route('user.employees')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-red"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4> Employees</h4>
                        {{--


                        <a  href="{{route('user.employees')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>

                          --}}
                     
                   </div>
                  </div>
                </div>
</a>
              </div>
              @endif
{{--

    @if(Auth::user()->hasAnyPermission(['All','View Scale']))
              <div class="col-md-3 col-sm-6">
                   <a  href="{{route('scales')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-green"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                     
                         <a  href="{{route('scales')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>
                   
                       
                   </div>
                  </div>
                </div>
</a>
              </div>
              @endif


  --}}
                 


                   @if(Auth::user()->hasAnyPermission(['All','View Designation']))
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('designation')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-yellow"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4>Designation</h4>
                        {{--
                          <a  href="{{route('designation')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>

                          --}}
                       
                                           </div>
                  </div>
                </div>
</a>
              </div>
              @endif

                                @if(Auth::user()->hasAnyPermission(['All','View Contract']))
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('contract')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-pink"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4> Contracts</h4>
                        {{--
                                      <a  href="{{route('contract')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>
                          --}}
                       
            
                   </div>
                  </div>
                </div>
</a>
              </div>
              @endif

              @if(Auth::user()->hasAnyPermission(['All','View Allowance']))
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('allowance')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-orange"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4>Allowance</h4>
                        {{--

                           <a  href="{{route('allowance')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>
                          --}}
                       
                       
                   </div>
                  </div>
                </div>
              </a>
              </div>
              @endif

                     @if(Auth::user()->hasAnyPermission(['All','View Asset']))
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('asset')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-orange"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4>Asset</h4>
                        {{--

                           <a  href="{{route('allowance')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>
                          --}}
                       
                       
                   </div>
                  </div>
                </div>
              </a>
              </div>
              @endif

              {{--
               @if(Auth::user()->hasAnyPermission(['All','View Assign Allowance']))
              }
              }
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('view.assign.allowance')}}" style = "text-decoration: none;" >
                <div class="card box ">
             
                      <div class="card-status card-status-left bg-purple"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4>Assign Allowance</h4>
                    
                       
                        
                   </div>
                  </div>
                </div>
              </a>
              </div>
              @endif
              --}}



              @if(Auth::user()->hasAnyPermission(['All','View Loan']))
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('loan')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-blue"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4> Loan</h4>
                       {{--
                            <a  href="{{route('loan')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>
                        --}}
                    
                   </div>
                  </div>
                </div>
</a>
              </div>
              @endif


              @if(Auth::user()->hasAnyPermission(['All','View Leave']))
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('leave')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-red"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4> Leaves</h4>
                       {{--
                         <a  href="{{route('leave')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>
                        --}}
                       
                   </div>
                  </div>
                </div>
</a>
              </div>
              @endif



              @if(Auth::user()->hasAnyPermission(['All','View Tax']))
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('tax')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-green"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4> Taxes</h4>
                        {{--
                          <a  href="{{route('tax')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>
                          --}}
                       
                        
                   </div>
                  </div>
                </div>
</a>
              </div>
              @endif


{{--

  @if(Auth::user()->hasAnyPermission(['All','View Setting']))
              <div class="col-md-3 col-sm-6">
                <div class="card">
             
                      <div class="card-status card-status-left bg-yellow"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4> Settings</h4>

                       
                        <a  href="{{route('setting')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>
                   </div>
                  </div>
                </div>

              </div>
              @endif


  --}}
              




              @if(Auth::user()->hasAnyPermission(['All','View Deduction']))
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('deduction')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-orange"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12">
                        <h4> Deductions</h4>
                       {{--

                         <a  href="{{route('deduction')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>
                        --}}
                       
                   </div>
                  </div>
                </div>
</a>
              </div>
              @endif


              @if(Auth::user()->hasAnyPermission(['All','View MinuteSheet']))
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('minutesheet')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-purple"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12" >
                        <h4>Minute Sheet</h4>
                        {{--
                            <a  href="{{route('minutesheet')}}" class="float-right btn btn-sm btn-outline-primary" content="View"><i class=" fa fa-eye "></i> View</a>
                          --}}
                       
                      
                   </div>
                  </div>
                </div>
</a>
              </div>
              @endif
              {{--

                              @if(Auth::user()->hasAnyPermission(['All','View HR Letter']))
              <div class="col-md-3 col-sm-6">
                    <a  href="{{route('minutesheet')}}" style = "text-decoration: none;" >
                <div class="card box">
             
                      <div class="card-status card-status-left bg-blue"></div>
                  <div class="card-body report-card text-center">
                    <div class ="col-md-12" >
                        <h4>Letters</h4>
                 
                       
                      
                   </div>
                  </div>
                </div>
</a>
              </div>
              @endif

                --}}

         

</div>

@endsection

@section('page_modal')

@endsection

@section('page_script')
	
@endsection
