@extends('layouts.admin') @section('page-title') {{__('Manage Appraisal')}} @endsection @section('breadcrumb')
{{__('Branch')}} | {{__('Department')}} | {{__('Designation')}} | {{__('Employee')}} | {{__('Overall Rating')}} | {{__('Appraisal Date')}} | @if( Gate::check('edit appraisal') ||Gate::check('delete appraisal') ||Gate::check('show appraisal')){{__('Action')}} | @endif
---|---|---|---|---|---|---|
{{ !empty($appraisal->branches)?$appraisal->branches->name:'' }} | {{ !empty($appraisal->employees)?!empty($appraisal->employees->department)?$appraisal->employees->department->name:'':'' }} | {{ !empty($appraisal->employees)?!empty($appraisal->employees->designation)?$appraisal->employees->designation->name:'':'' }} | {{!empty($appraisal->employees)?$appraisal->employees->name:'' }} | @for($i=1; $i<=5; $i++) @if($overallrating < $i) @if(is_float($overallrating) && (round($overallrating) == $i)) @else @endif @else @endif @endfor ({{number_format($overallrating,1)}}) | {{ $appraisal->appraisal_date}} | @if( Gate::check('edit appraisal') ||Gate::check('delete appraisal') ||Gate::check('show appraisal'))@can('show appraisal') @endcan @can('edit appraisal') @endcan @can('delete appraisal') @endcan | @endif