SMS SENT

SMS SENT TO PATIENT

@php $authUser = Auth::user()->uuids; $clinic = App\Models\ClinicStaff::where(['user_id' => $authUser])->select('clinic_id') ->first()->toArray(); @endphp @foreach ($sms_data as $key => $sms) @if($sms['clinic_id'] == $clinic['clinic_id']) @endif @endforeach
# Phone No. Message Date sent
{{ $key+1 }} {{ '0'.$sms['phone'] }} {{ $sms['message'] }} {{ \Carbon\Carbon::parse($sms['created_at'])->diffforhumans(['parts' => 2]) }}