@extends('admin.layout.master') @section('css') @endsection @section('content') {{-- table --}} {{ awtTrans('ارسال اشعار') }} {{ awtTrans('ارسال ايميل') }} {{ awtTrans('التاريخ') }} {{ awtTrans('صوره الايقونة') }} {{ awtTrans('اسم المتجر') }} {{ awtTrans('رقم هاتف المستخدم') }} @if ($status == 'all' || $status == 'pending') * @endif {{ awtTrans('الحالة') }} {{ awtTrans('التحكم') }} @foreach ($rows as $row) {{ \Carbon\Carbon::parse($row->created_at)->format('d/m/Y') }} {{ $row->name }} {{ $row->user ? $row->user->phone : '--' }} @if ($status == 'all' || $status == 'pending') @if ($row->user && $row->user->approve == 'pending') @else -- @endif @endif @if ($row->user && $row->user->approve == 'accept') {{ awtTrans('مقبول') }} @elseif ($row->user && $row->user->approve == 'pending') {{ awtTrans('بانتظار القبول') }} @elseif (!$row->user) {{ awtTrans('لايحتوي علي مستخدم') }} @else {{ awtTrans('غير مقبول') }} @endif @endforeach {{-- #table --}} {{-- notify users model --}} {{-- notify users model --}} @endsection @section('js') {{-- --}} @if ($status == 'all' || $status == 'pending') @endif {{-- delete all script --}} @include('admin.shared.deleteAll') {{-- delete all script --}} {{-- delete one user script --}} @include('admin.shared.deleteOne') {{-- delete one user script --}} {{-- notify one user or all user script --}} @include('admin.shared.notify') {{-- notify one user or all user script --}} @endsection