@extends('layouts.master') @section('title') Chat Stats @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') @endslot @slot('title') @lang('Chat Stats') @endslot @endcomponent @include('partials.session')
id | Admin | User | Recieved At | Replied At | Difference in minutes |
---|---|---|---|---|---|
{{$stat->id}} | {{$stat->user->username}} | {{$stat->chat ? $stat->chat->user->username : "" }} | {{$stat->recieved_at}} | {{$stat->replied_at}} | @if($stat->replied_at) {{ \Carbon\Carbon::parse($stat->replied_at)->diffInMinutes(\Carbon\Carbon::parse($stat->recieved_at)) }} minutes @endif |