![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/clinic.corals.io/storage/framework/views/ |
<?php $__env->startSection('title'); ?> <?php echo e(__('messages.appointment.add_new_appointment')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page_css'); ?> <link rel="stylesheet" href="<?php echo e(asset('assets/css/plugins/flatpickr.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('assets/css/style.css')); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('header_toolbar'); ?> <div class="toolbar" id="kt_toolbar"> <div id="kt_toolbar_container" class="container-fluid d-flex flex-stack"> <div data-kt-swapper="true" data-kt-swapper-mode="prepend" data-kt-swapper-parent="{default: '#kt_content_container', 'lg': '#kt_toolbar_container'}" class="page-title d-flex align-items-center flex-wrap me-3 mb-5 mb-lg-0"> <h1 class="d-flex align-items-center text-dark fw-bolder fs-3 my-1"><?php echo $__env->yieldContent('title'); ?></h1> </div> <div class="d-flex align-items-center py-1 ms-auto"> <?php if(auth()->check() && auth()->user()->hasRole('patient')): ?> <a href="<?php echo e(route('patients.appointments.index')); ?>" class="btn btn-sm btn-primary"><?php echo e(__('messages.common.back')); ?></a> <?php else: ?> <a href="<?php echo e(route('appointments.index')); ?>" class="btn btn-sm btn-primary"><?php echo e(__('messages.common.back')); ?></a> <?php endif; ?> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="post d-flex flex-column-fluid" id="kt_post"> <div id="kt_content_container" class="container"> <div class="d-flex flex-column flex-lg-row"> <div class="flex-lg-row-fluid mb-10 mb-lg-0 me-lg-7 me-xl-10"> <div class="card"> <div class="card-body p-12"> <?php if(auth()->check() && auth()->user()->hasRole('patient')): ?> <?php echo e(Form::open(['route' => 'patients.appointments.store','id' => 'addAppointmentForm'])); ?> <?php else: ?> <?php echo e(Form::open(['route' => 'appointments.store', 'id' => 'addAppointmentForm'])); ?> <?php endif; ?> <div class="card-body p-9"> <?php echo $__env->make('appointments.fields', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo e(Form::close()); ?> </div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('page_js'); ?> <script src="//js.stripe.com/v3/"></script> <script src="<?php echo e(asset('assets/js/plugins/flatpickr.js')); ?>"></script> <script> let manually = "<?php echo e(\App\Models\Appointment::MANUALLY); ?>"; let isEdit = false; let userRole = '<?php echo e(getLogInUser()->hasRole('patient')); ?>'; let appointmentStripePaymentUrl = '<?php echo e(url('appointment-stripe-charge')); ?>'; let stripe = Stripe('<?php echo e(config('services.stripe.key')); ?>'); </script> <script src="<?php echo e(mix('assets/js/appointments/create-edit.js')); ?>"></script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/corals/clinic.corals.io/resources/views/appointments/create.blade.php ENDPATH**/ ?>