@extends('Common::admin.layout.page') @section('page')
@csrf

@lang('Send notification')

@foreach (config('app.locales') as $lang_name => $lang)
@endforeach
@if(!request()->query('user_id'))

@lang('settings')

@endif
@if(!request()->query('user_id'))

@lang('Notifications')

@if(count($notifications) > 0) @foreach ($notifications as $row) @endforeach @else @endif
# {{__('Title')}} {{__('Text')}} {{__('By')}} {{__('Created at')}} {{__('Delete')}}
{{ $loop->iteration }} {{ data_get($row,'title.ar') }} {{ data_get($row,'content.ar') }} {{$row->user?->name }} {{ $row->created_at }}
@csrf {{ method_field('delete') }}
{{__('there is no data yet')}}
{{ $notifications->links() }}
@endif @endsection