@extends('admin.layouts.layouts') @section('title', 'Hr Policy') @section('content')
{!! Form::open([ 'route' => 'hr-policy.update', 'method' => 'POST', 'id' => 'hrPolicyForm', 'class' => 'forms-sample', 'enctype' => 'multipart/form-data', ]) !!} @csrf
{{ $errors->first('description') }}
{{ Form::close() }}
Hr Policy History
@if($hrPolicies->isEmpty())

No Hr Policy found.

@else
@foreach($hrPolicies as $hrPolicy) @endforeach
Effective Month Created At Created By Updated At Updated By Actions
{{ date('F, Y', strtotime($hrPolicy->effective_date)) }} {{ $hrPolicy->created_at->format('d-m-Y') }} {{ $hrPolicy->creator->name }} {{ isset($hrPolicy->updated_by) ? $hrPolicy->updated_at->format('d-m-Y') : '-' }} {{ isset($hrPolicy->updated_by) ? $hrPolicy->editor->name : '-' }}
@endif
@endsection @section('page-js') @endsection