@if(Auth::user()->hasRole('Admin')) {{ \Carbon\Carbon::parse($row->invoice_date)->translatedFormat('g:i A') }} {{ \Carbon\Carbon::parse($row->invoice_date)->translatedFormat('jS M, Y') }} @elseif(Auth::user()->hasRole('Accountant')) {{ \Carbon\Carbon::parse($row->invoice_date)->translatedFormat('g:i A') }} {{ \Carbon\Carbon::parse($row->invoice_date)->translatedFormat('jS M, Y') }} @else