PATH:
home
/
rwabteecom
/
public_html
/
storage
/
framework
/
views
/
Editing: fa8feb59122708a62cda71d9d4ce8121.php
<div class="modal fade appointment-modal" <?php if(getLanguage($vcard->default_language) == 'Arabic'): ?> dir="rtl" <?php endif; ?>" id="AppointmentModal" tabindex="-1" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content" <?php if(getLanguage($vcard->default_language) == 'Arabic'): ?> dir="rtl" <?php endif; ?>> <div class="modal-header"> <h5 class="modal-title"><?php echo e(__('messages.make_appointment')); ?></h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <?php echo Form::open(['id' => 'addAppointmentForm']); ?> <div class="modal-body"> <div class="alert alert-danger fs-4 text-white d-flex align-items-center d-none" role="alert" id="countryValidationErrorsBox"><i class="fa-solid fa-face-frown me-5"></i> </div> <?php echo e(Form::hidden('from_time', null, ['id' => 'timeSlot'])); ?> <?php echo e(Form::hidden('to_time', null, ['id' => 'toTime'])); ?> <?php echo e(Form::hidden('date', null, ['id' => 'Date'])); ?> <?php echo e(Form::hidden('vcard_id', $vcard->id, ['id' => 'vCardId'])); ?> <div class="mb-3 form-group"> <?php echo e(Form::label('name', __('messages.common.name') . ' :', ['class' => 'form-label required'])); ?> <?php echo e(Form::text('name', null, ['class' => 'form-control custom-placeholder', 'required', 'placeholder' => __('messages.form.enter_name'), 'id' => 'paypalIntUserName'])); ?> </div> <div class="mb-3"> <?php echo e(Form::label('email', __('messages.common.email') . ' :', ['class' => 'form-label required '])); ?> <?php echo e(Form::text('email', null, ['class' => 'form-control custom-placeholder', 'required', 'placeholder' => __('messages.form.enter_email'), 'id' => 'paypalIntUserEmail'])); ?> </div> <div class="mb-3"> <?php echo e(Form::label('phone', __('messages.common.phone') . ' :', ['class' => 'form-label'])); ?> <?php echo e(Form::text('phone', null, ['class' => 'form-control custom-placeholder', 'required', 'placeholder' => __('messages.form.enter_phone'), 'id' => 'paypalIntUserPhone', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g, "")'])); ?> </div> <?php if(isset($appointmentDetail->is_paid) && $appointmentDetail->is_paid == 1 && (getUserSettingValue('stripe_enable', $vcard->user->id) || getUserSettingValue('flutterwave_enable', $vcard->user->id) || getUserSettingValue('paytack_enable', $vcard->user->id) || getUserSettingValue('phonepe_enable', $vcard->user->id) || getUserSettingValue('manually_payment', $vcard->user->id) || getUserSettingValue('mercado_pago_enable', $vcard->user->id) || getUserSettingValue('payfast_enable', $vcard->user->id) || getUserSettingValue('paypal_enable', $vcard->user->id) || getUserSettingValue('iyzico_enable', $vcard->user->id))): ?> <?php $translatedPaymentTypes1 = collect(\App\Models\Appointment::PAYMENT_METHOD)->map(function ( $value, ) { return trans('messages.' . $value); }); $translatedPaymentTypes2 = collect($paymentMethod)->map(function ($value) { return trans('messages.' . $value); }); ?> <div class="mb-3"> <?php echo e(Form::label('payment_method', __('messages.common.payment_methods') . ' :', ['class' => 'form-label required'])); ?> <?php echo e(Form::select('payment_method', $appointmentDetail->is_paid == 0 ? $translatedPaymentTypes1 : $translatedPaymentTypes2, null, ['class' => 'form-control custom-placeholder form-select form-select-solid select2Selector', 'data-control' => 'select2', 'required', 'id' => 'appointmentPaymentMethod', 'placeholder' => __('messages.common.payment_methods')])); ?> </div> <div class="manual-payment-guide d-none"> <?php echo e(Form::hidden('manual_payment_guide', isset($userSetting['manual_payment_guide']) ? $userSetting['manual_payment_guide'] : '', ['id' => 'manualPaymentGuideData'])); ?> <div class=""> <div class="" style="text-align: justify"> <?php echo isset($userSetting['manual_payment_guide']) ? $userSetting['manual_payment_guide'] : ''; ?> </div> </div> </div> <div class="mt-3"> <?php echo e(Form::label('phone', __('messages.common.price') . ':', ['class' => 'form-label'])); ?> <span id="paymentCurrencyCode"> <?php echo e(formatCurrency($appointmentDetail->price, $currency->currency_icon)); ?> </span> <input type="hidden" id="currencyCode" name="currency_code" value="<?php echo e($currency->currency_code); ?>"> <input type="hidden" id="amount" name="amount" value="<?php echo e($appointmentDetail->price); ?>"> </div> <?php endif; ?> </div> <div class="modal-footer pt-0"> <?php echo e(Form::button(__('messages.common.save'), ['type' => 'submit', 'class' => 'submit-btn btn btn-primary m-0', 'id' => 'serviceSave'])); ?> <button type="button" class="btn btn-secondary my-0 ms-3 me-0" data-bs-dismiss="modal"><?php echo e(__('messages.common.discard')); ?></button> </div> <?php echo e(Form::close()); ?> </div> </div> </div> <script src="https://sdk.mercadopago.com/js/v2"></script> <script> if ("<?php echo e(getUserSettingValue('mercado_pago_enable', $vcard->user->id)); ?>" == "1") { var appointmentMercadoPagoPublicKey = new MercadoPago( "<?php echo e(getUserSettingValue('mp_public_key', $vcard->user->id)); ?>"); } </script> <?php /**PATH /home/rwabteecom/public_html/resources/views/vcardTemplates/appointment.blade.php ENDPATH**/ ?>
SAVE
CANCEL