@extends('oxygen::layouts.master-dashboard') @section('breadcrumbs') {{ lotus()->breadcrumbs([ ['Dashboard', route('dashboard')], // ['Change The Resource Name', route('')], [$pageTitle, null, true] ]) }} @stop @section('pageMainActions') @include('oxygen::dashboard.partials.searchField') Add New @stop {{-- DELETE THIS IF NOT USED @section('pageSummary')
Content to be inserted at the bottom of the page
@stop --}} @section('content') @include('oxygen::dashboard.partials.table-allItems', [ 'tableHeader' => [ 'ID', 'Name', 'Created', 'Sent', 'Actions|text-right' ] ]) @foreach ($allItems as $item) {{ $item->id }} {{----}} {{ $item->title }}
{{ $item->message }}
@if ($item->topic)
{{ $item->topic_display_name }}
@elseif ($item->notifiable) @if ($item->notifiable instanceof \App\Models\User)
{{ $item->notifiable->full_name }}
@elseif ($item->notifiable instanceof \EMedia\Devices\Entities\Devices\Device)
{{ strtoupper($item->device_type) }} DEVICE
@else
Unknown Receiver
@endif @else
Unknown Receiver
@endif @if ($item->created_at) {{ standard_datetime($item->created_at) }} @endif {{----}} {{--@if ($item->scheduled_at)--}} {{--
{{ standard_datetime($item->scheduled_at) }}
--}} {{--
{{ $item->scheduled_timezone }}
--}} {{--@endif--}} {{----}} @if ($item->sent_at) {{ standard_datetime($item->sent_at) }} @else PENDING @endif
@if (!$item->sent_at) Edit @if (isset($isDestroyingEntityAllowed) && $isDestroyingEntityAllowed === true)
{{ method_field('delete') }} {{ csrf_field() }}
@endif @endif {{--
{{ method_field('put') }} {{ csrf_field() }} @if ($item->is_completed) @else @endif
--}}
@endforeach @stop