{{ __('Ratings') }}
{{ $metrics['ratings']['value'] }} @include('reports::partials/metric_change', ['change' => $metrics['ratings']['change']])
{{ __('Great') }}
{{ $metrics['great']['value'] }} @include('reports::partials/metric_change', ['change' => $metrics['great']['change']])
{{ __('Okay') }}
{{ $metrics['okay']['value'] }} @include('reports::partials/metric_change', ['change' => $metrics['okay']['change']])
{{ __('Not Good') }}
{{ $metrics['notgood']['value'] }} @include('reports::partials/metric_change', ['change' => $metrics['notgood']['change']])
{{ __('Satisfaction Score') }}
{{ $metrics['satscore']['value'] }} @include('reports::partials/metric_change', ['change' => $metrics['satscore']['change']])
@if (count($table_ratings))
@foreach ($table_ratings as $table_rating) @endforeach
# {{ __('Customer') }} {{ __('User') }} {{ __('Rating') }} {{ __('Comment') }}
#{{ $table_rating['number'] }}
{{ App\User::dateFormat($table_rating['created_at']) }}
@if (!empty($table_rating['customer'])){{ $table_rating['customer']->getFullName(true) }}@endif @if (!empty($table_rating['user']))@endif @if ((int)$table_rating['rating'] == \SatRatingsHelper::RATING_BAD) {{ __('Not Good') }} @elseif ((int)$table_rating['rating'] == \SatRatingsHelper::RATING_GREAT) {{ __('Great') }} @elseif ((int)$table_rating['rating'] == \SatRatingsHelper::RATING_OKAY) {{ __('Okay') }} @endif {{ $table_rating['rating_comment'] }}
@endif