{{ Form::label('send_to', __('messages.sms.send_to').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ !empty($sms->user && $sms->user->full_name) ? $sms->user->full_name : __('messages.common.n/a') }}
{{ Form::label('employee_payroll', __('messages.employee_payroll.role').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} @if(isset($sms->user)) {{$sms->user->roles->pluck('name')->first()}} @else {{ __('messages.common.n/a') }} @endif
{{ Form::label('employee_payroll', __('messages.user.phone').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{$sms->phone_number}}
{{ Form::label('employee_payroll', __('messages.sms.date').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{\Carbon\Carbon::parse($sms->created_at)->format('jS M,Y g:i A')}}
{{ Form::label('employee_payroll', __('messages.sms.send_by').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{$sms->sendBy->full_name}}
{{ Form::label('employee_payroll', __('messages.sms.message').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} @if($sms->message) {!! nl2br(e($sms->message)) !!} @else {{ __('messages.common.n/a') }} @endif
{{ Form::label('updated_at', __('messages.common.updated_at').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {{ $sms->updated_at->diffForHumans() }}
{{ Form::label('description', __('messages.item.description').(':'), ['class' => 'pb-2 fs-5 text-gray-600']) }} {!! !empty($sms->description) ? nl2br(e($sms->description)) : __('messages.common.n/a') !!}