@extends('layouts.main') @section('page-title') {{ __('Manage Complaint') }} @endsection @section('page-breadcrumb') {{ __('Complaint') }} @endsection @section('page-action')
@endsection @section('content')| {{ __('Complaint From') }} | {{ __('Complaint Against') }} | {{ __('Title') }} | {{ __('Complaint Date') }} | {{ __('Description') }} | @if (Gate::check('complaint edit') || Gate::check('complaint delete')){{ __('Action') }} | @endif
|---|---|---|---|---|---|
| {{ !empty( Modules\Hrm\Entities\Employee::getEmployee($complaint->complaint_from)) ? Modules\Hrm\Entities\Employee::getEmployee($complaint->complaint_from)->name : '--' }} | {{ !empty( Modules\Hrm\Entities\Employee::getEmployee($complaint->complaint_against)) ? Modules\Hrm\Entities\Employee::getEmployee($complaint->complaint_against)->name : '--' }} | {{ $complaint->title }} | {{ company_date_formate($complaint->complaint_date) }} | @if (Gate::check('complaint edit') || Gate::check('complaint delete')) | @can('complaint edit') @endcan @can('complaint delete') @endcan | @endif