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

@lang('Send notification')

@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') }} {{ data_get($row,'content') }} {{$row->user?->name }} {{ $row->created_at }}
@csrf {{ method_field('delete') }}
{{__('there is no data yet')}}
{{ $notifications->links() }}
@endif @endsection