@foreach($ticket->history as $h) @endforeach
Status Incharge Person Datetime
@if ($h->action == 'pay') Paid @elseif ($h->action == 'invoice') Invoiced @elseif ($h->action == 'complete') Completed @elseif ($h->action == 'firstOtp') First OTP entered @elseif ($h->action == 'secondOtp') Second OTP entered @elseif ($h->action == 'decline') Declined @elseif ($h->action == 'accept') Accepted @elseif ($h->action == 'quote') Quoted @elseif ($h->action == 'open') Opened @elseif ($h->action == 'draft') Drafted @else {{ucwords($h->action)}} @endif {{ $h->action_by }} {{ ViewHelper::formatDateTime($h->action_on) }}