@extends('layouts.master') @section('title', ($get_ticket) ? 'Ticket | '. $get_ticket->title : 'Ticket Conversation') @section('css-top') @endsection @section('content')

Ticket Conversation

@if($get_ticket)
    @foreach($get_ticket->ticket_conversation as $conversation) @if($conversation->from_user == Auth::id())
  • {{$conversation->user->name}} @if($get_ticket->user_id == $conversation->user->id)Author@endif
    {!!$conversation->conversation!!}
    {{ \Carbon\Carbon::parse($conversation->ticket_date)->diffForHumans()}}
    user
  • @else
  • user
    {{$conversation->user->name}} @if($get_ticket->user_id == $conversation->user->id)Author@endif
    {!!$conversation->conversation!!}
    {{ \Carbon\Carbon::parse($conversation->ticket_date)->diffForHumans()}}
  • @endif @endforeach
@csrf
@endif
@endsection @section('js') @endsection