@extends('backend.handoff.layouts.app') @section('content')
{{ _lang('Chat History') }}
@if (\Session::has('success'))

{{ \Session::get('success') }}


@endif @if(Auth::user()->user_type == "admin" && Auth::user()->department_id == "") @endif @foreach($chat_history as $history) @if($history != null) @if(empty($history->guest)) @else @endif @if(Auth::user()->user_type == "admin" && Auth::user()->department_id == "") @endif @if($history->issue != 0) @else @endif @endif @endforeach
{{ _lang('Guest') }} {{ _lang('Operator') }} {{ _lang('Waiting Time') }} {{ _lang('Status') }} {{ _lang('Duration Time') }} {{ _lang('Date') }} {{ _lang('View Details') }}{{ _lang('Delete') }}{{ _lang('View Agent Form') }}
?{{ $history->guest->fname }}{{ $history->operator !="" ? $history->operator->name : "" }} {{ $history->waiting_duration }} {{ ucwords(str_replace("_"," ",$history->status)) }} {{ $history->chat_duration }} {{ $history->created_at->format('d/m/Y') }} {{ _lang('View') }}{{ _lang('Delete') }}
No Feedback
@endsection