{{-- -------------------- The default card (white) -------------------- --}} @if($viewType == 'default') @if($from_id != $to_id)
{!! ($message == null && $attachment != null && @$attachment[2] != 'file') ? $attachment[1] : nl2br($message) !!} {{ $time }} {{-- If attachment is a file --}} @if(@$attachment[2] == 'file') {{$attachment[1]}} @endif