@extends('layouts.admin.app') @section('title',translate('messages.notification')) @section('content')
@csrf
image
* ( {{translate('messages.ratio')}} 3:1 )

{{translate('notification_list')}} {{$notifications->total()}}

{{translate('messages.export')}}
@foreach($notifications as $key=>$notification) @if ($notification->tergat == 'customer') @elseif ($notification->tergat=='deliveryman') @elseif ($notification->tergat=='restaurant') @endif @endforeach
{{translate('sl')}} {{translate('messages.title')}} {{translate('messages.description')}} {{translate('messages.image')}} {{translate('messages.zone')}} {{translate('messages.tergat')}} {{translate('messages.status')}} {{translate('messages.action')}}
{{$key+$notifications->firstItem()}} {{substr($notification['title'],0,25)}} {{strlen($notification['title'])>25?'...':''}} {{substr($notification['description'],0,25)}} {{strlen($notification['description'])>25?'...':''}} {{$notification->zone_id==null?translate('messages.all'):($notification->zone?$notification->zone->name:translate('messages.zone').' '.translate('messages.deleted'))}} {{translate('messages.customer')}} {{translate('messages.delivery_man')}} {{translate('messages.restaurant')}}
@csrf @method('delete')
@if(count($notifications) === 0)
public
{{translate('no_data_found')}}
@endif
{!! $notifications->links() !!}
@endsection @push('script_2') @endpush