@extends('layouts.main.app')
@section('head')
@include('layouts.main.headersection',[
'title' => __('Schedule Message'),
'buttons' =>[
[
'name'=>' Create Schedule',
'url'=> route('user.schedule-message.create'),
]
]])
@endsection
@section('content')
{{ number_format($totalSchedule ?? 0) }}
{{ __('Total Schedules') }}
{{ number_format($pendingSchedule ?? 0) }}
{{ __('Total Pending Schedules') }}
{{ number_format($deliveredSchedule?? 0) }}
{{ __('Schedules Executed') }}
{{ number_format($failedSchedule ?? 0) }}
{{ __('Failed Schedules') }}
@if(getUserPlanData('schedule_message') == false)
{{ __('!Opps ') }}
{{ __('Schedule Message features is not available in your subscription plan') }}
@endif
@if(count($posts) > 0)
{{ __('Schedules') }}
{{ __('Send From') }} |
{{ __('Title') }} |
{{ __('Message Type') }} |
{{ __('Status') }} |
{{ __('Delivery Date') }} |
{{ __('Action') }} |
@foreach($posts as $post)
{{ $post->device->phone ?? '' }} |
{{ Str::limit($post->title ?? '',90) }} |
{{ $post->body != null ? 'Plain Text' : 'Template' }} |
{{ $post->status }} |
{{ Carbon\Carbon::parse($post->schedule_at)->copy()->tz($post->zone)->format('F j, Y g:i A') }} |
|
@endforeach
{{ $posts->links('vendor.pagination.bootstrap-4') }}
@else
{{ __('Opps There Is No Schedules Found....') }}
@endif