@extends('layouts.admin') @section('page-title') {{__('Manage Indicator')}} @endsection @push('css-page') @endpush @push('script-page') @endpush @section('breadcrumb')
{{__('Branch')}} | {{__('Department')}} | {{__('Designation')}} | {{__('Overall Rating')}} | {{__('Added By')}} | {{__('Created At')}} | @if( Gate::check('edit indicator') ||Gate::check('delete indicator') ||Gate::check('show indicator')){{__('Action')}} | @endif
---|---|---|---|---|---|---|
{{ !empty($indicator->branches)?$indicator->branches->name:'' }} | {{ !empty($indicator->departments)?$indicator->departments->name:'' }} | {{ !empty($indicator->designations)?$indicator->designations->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)}}) | {{ !empty($indicator->user)?$indicator->user->name:'' }} | {{ \Auth::user()->dateFormat($indicator->created_at) }} | @if( Gate::check('edit indicator') ||Gate::check('delete indicator') || Gate::check('show indicator'))@can('show indicator') @endcan @can('edit indicator') @endcan @can('delete indicator') @endcan | @endif