@hasPermission('edit_encounter') @endhasPermission @hasPermission('delete_encounter') 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' => ucwords(str_replace('_', ' ', $data->name)) ?? __('Unknown'), 'module' => __('appointment.problems')])}}"> @endhasPermission