modified assests

This commit is contained in:
2026-06-15 11:25:16 +07:00
parent 3f115866d9
commit e96d58dcb4
1218 changed files with 1162 additions and 339502 deletions

View File

@@ -147,25 +147,25 @@
</script>
<script>
$.ajax({
url: "{{ route('alert-notifications') }}",
type: "GET",
success: function(res){
if(res.success){
let notify = $('#notify');
notify.addClass('rounded-bottom-right-15')
notify.addClass('rounded-bottom-left-15')
notify.empty();
notify.append('<p class="mb-0 font-weight-normal font-13 float-left dropdown-header text-muted" style="margin-right: 150px">{{__('general.notification')}}</p>');
res.data.forEach(function(appointment){
notify.append('<a class="dropdown-item preview-item app-modal" data-info="Patient: '+appointment.patient.name_en+', Phone: '+appointment.patient.phone_number+', Description: '+appointment.description+', Date: '+appointment.appointment_date+', Doctor: '+appointment.doctor.name_en+', Ap-Type: ' + appointment.appointment_type+'" href="#"><span class="mdi mdi-bell-outline fa"></span><div class="preview-item-content flex-grow"><p class="font-weight-light small-text text-success mb-0">'+appointment.patient.name_en+' - '+appointment.appointment_date+'</p></div></a>');
})
}
$('#app_notify').text(res.count > 0 ? res.count : '').toggleClass('d-none', res.count < 1);
}
})
</script>
{{-- <script>--}}
{{-- $.ajax({--}}
{{-- url: "{{ route('alert-notifications') }}",--}}
{{-- type: "GET",--}}
{{-- success: function(res){--}}
{{-- if(res.success){--}}
{{-- let notify = $('#notify');--}}
{{-- notify.addClass('rounded-bottom-right-15')--}}
{{-- notify.addClass('rounded-bottom-left-15')--}}
{{-- notify.empty();--}}
{{-- notify.append('<p class="mb-0 font-weight-normal font-13 float-left dropdown-header text-muted" style="margin-right: 150px">{{__('general.notification')}}</p>');--}}
{{-- res.data.forEach(function(appointment){--}}
{{-- notify.append('<a class="dropdown-item preview-item app-modal" data-info="Patient: '+appointment.patient.name_en+', Phone: '+appointment.patient.phone_number+', Description: '+appointment.description+', Date: '+appointment.appointment_date+', Doctor: '+appointment.doctor.name_en+', Ap-Type: ' + appointment.appointment_type+'" href="#"><span class="mdi mdi-bell-outline fa"></span><div class="preview-item-content flex-grow"><p class="font-weight-light small-text text-success mb-0">'+appointment.patient.name_en+' - '+appointment.appointment_date+'</p></div></a>');--}}
{{-- })--}}
{{-- }--}}
{{-- $('#app_notify').text(res.count > 0 ? res.count : '').toggleClass('d-none', res.count < 1);--}}
{{-- }--}}
{{-- })--}}
{{-- </script>--}}
<div class="modal" id="appointment-modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">