@include('shared.alerts')
{{ __('School') }}
{{ __('Name') }}
{{ $school->name }}
{{ __('CVR') }}
{{ $school->cvr }}
{{ __('Address') }}
{{ $school->address }}
@if($school->address2)
{{ $school->address2 }}
@endif
{{ $school->zipcode }} {{ $school->city }}
{{ $school->country }}
{{ __('Contact email') }}
{{ $school->email }}
{{ __('Phone') }}
{{ $school->phone }}
{{ __('Rate') }}
{{ $school->rate }} DKK
{{ __('Commission') }}
{{ $school->commission }} %
{{ __('Products') }}
{{ $school->products->implode('name', ', ') }}
@if ($school->lat && $school->lng)
{{ __('Map') }}
@endif
{{ __('Admins') }}
@if ($school->admins->isNotEmpty()) @foreach($school->admins as $user) @endforeach
{{ __('Name') }} {{ __('E-mail') }} {{ __('Mobile') }}
@if ($user->avatar) @else @endif {{ $user->name }} {{ $user->email }} {{ $user->mobile }} @if($loop->count > 1)
@method('PUT') @csrf
@endif
@else {{ __('No admins assigned') }} @endif
{{ __('Teachers') }}
@if ($school->teachers->isNotEmpty()) @foreach($school->teachers as $user) @endforeach
{{ __('Name') }} {{ __('E-mail') }} {{ __('Mobile') }}
@if ($user->avatar) @else @endif {{ $user->name }} {{ $user->email }} {{ $user->mobile }}
@method('PUT') @csrf
@else {{ __('No teachers assigned') }} @endif