@extends('teacher.layouts.container') @section('content')

{{ $head ?? ''}}

@if($rating ?? '' && $rating->id) @method('PUT') @endif @csrf
{{--
--}}
{{-- @if(isMainAdminRole() && isset($rating->user))
@endif --}}
@for($f=1; $f<=5; $f++) @if($f <= ($rating->rating ?? $rating->rating_details_avg ?? 0)) @else @endif @endfor
{{-- @if($rating->item()->exists()) @endif --}} @if($rating->order()->exists()) @endif {{-- @if(isMainAdminRole())
@foreach(['active', 'inactive'] as $status)
status ?? 'active') == $status ? 'checked' : '' }}>
@endforeach
@if(($rating->type ?? null) === 'platform')
show_in_main_page ?? 0)) class="custom-control-input" id="show-in-main-page"/>
@endif @endif --}}
{{-- @if($ratingDetails->count()) @include('admin.ratings._rating_details') @endif --}} {{-- @if(isMainAdminRole())
@endif --}}
@endsection @section('inner_js') {{-- get regions by country --}} @include('admin.partials._script') @endsection