@extends('layouts.main.app') @section('head') @include('layouts.main.headersection',['buttons'=>[ [ 'name'=>' '.__('Back'), 'url'=> route('user.device.index'), ] ]]) @endsection @section('content')
{{ number_format($totalUsed) }}

{{ __('Total Used') }}

{{ number_format($todaysMessage) }}

{{ __('Todays Transactions') }}

{{ number_format($monthlyMessages) }}

{{ __('Last 30 days message') }}

@if(count($posts ?? []) > 0)
@foreach($posts ?? [] as $post) @endforeach
{{ __('Device From') }} {{ __('Device To') }} {{ __('Request Type') }} {{ __('Message Type') }} {{ __('Requested At') }}
{{ $post->from }} {{ $post->to }} {{ $post->type }} {{ $post->template_id != null ? 'Template' : 'Plain Text' }} {{ $post->created_at->diffForHumans() }} - {{ $post->created_at->format('d F Y') }}
{{ $posts->links('vendor.pagination.bootstrap-4') }}
@else
{{ __('Opps There Is No Transaction Found....') }}
@endif
@endsection