@extends('mgh_theme.app',['datatable'=>1]) @section('css') @endsection @section('content')
@include('mgh_theme.session') @include('mgh_theme.error')

Notification from {{\Carbon\Carbon::parse($startdate)->format('d F,Y G:i')}} to {{\Carbon\Carbon::parse($enddate)->format('d F,Y G:i')}}

@include('admin.park.search') @foreach($notifications as $notification) @endforeach
Time Notification
{{\Carbon\Carbon::parse($notification->created_at)->format('d F, Y G:i:s')}} @if($notification->json == 0){{$notification->text}}@else @php($nlog = collect(json_decode($notification->text))->toArray()) @php($priority = $car_group[$nlog['car_group']]['priority'])

@if(isset($nlog['violation']) && $nlog['violation'] == 1)PAID @endif {{$default_data['priority'][$priority]}} {{$car_group[$nlog['car_group']]['name']}} SL{{$nlog['slno']}} # {{$nlog['number_plate']}}

@if(isset($nlog['entry_time']))Entered to Parking {{\Carbon\Carbon::parse($nlog['entry_time'])->format('d F, Y G:i:s')}} @elseif(isset($nlog['exit_time']))Exit parking {{\Carbon\Carbon::parse($nlog['exit_time'])->format('d F, Y G:i:s')}} @endif

@endif
@endsection @section('script') @endsection