{{-- --}} @if(setting('view_patient_soap') == 1) $data->id])}}" data-type="ajax" class='btn text-info p-0 fs-5' data-bs-toggle="tooltip" title="{{ __('clinic.appointment_patient_records') }}"> @endif id)}}" id="delete-{{$module_name}}-{{$data->id}}" class="btn text-danger p-0 fs-5" data-type="ajax" data-method="DELETE" data-token="{{csrf_token()}}" data-bs-toggle="tooltip" title="{{__('Delete')}}" data-confirm="{{ __('messages.are_you_sure?', ['form' => ($data->user->full_name ?? default_user_name()), 'module' => __('appointment.patient_encounter')]) }}"> @if($customform) @foreach($customform as $form) @php $formdata=json_decode($form->formdata); $appointment_status= json_decode($form->appointment_status); @endphp {{--@if(in_array($data->clinic, $appointment_status) && $data->status !== null) --}} {{-- @endif --}} @endforeach @endif