@include('new_layouts.header') @include('hrm.hrm_main')

{{ __('Company Policy') }}

@can('create company policy') {{__('Create')}}   @endcan
@if(Gate::check('edit company policy') || Gate::check('delete company policy')) @endif @foreach ($companyPolicy as $policy) @php $policyPath=\App\Models\Utility::get_file('uploads/companyPolicy'); @endphp @if(Gate::check('edit company policy') || Gate::check('delete company policy')) @endif @endforeach
{{__('Branch')}} {{__('Title')}} {{__('Description')}} {{__('Attachment')}}{{__('Action')}}
{{ !empty($policy->branches)?$policy->branches->name:'' }} {{ $policy->title }} {{ $policy->description }} {{-- @if(!empty($policy->attachment)) No Attachment @else

-

@endif --}} @if (!empty($policy->attachment)) @else

-

@endif
@can('edit company policy')
@endcan @can('delete company policy')
{!! Form::open(['method' => 'DELETE', 'route' => ['hrm_company_policy.destroy', $policy->id],'id'=>'delete-form-'.$policy->id]) !!} {!! Form::close() !!}
@endcan
@include('new_layouts.footer')