{{ __('messages.make_appointment') }}
{!! Form::open(['id' => 'addAppointmentForm']) !!}
{{ Form::hidden('from_time', null, ['id' => 'timeSlot']) }} {{ Form::hidden('to_time', null, ['id' => 'toTime']) }} {{ Form::hidden('date', null, ['id' => 'Date']) }} {{ Form::hidden('vcard_id', $vcard->id, ['id' => 'vCardId']) }}
{{ Form::label('name', __('messages.common.name') . ' :', ['class' => 'form-label required']) }} {{ Form::text('name', null, ['class' => 'form-control custom-placeholder', 'required', 'placeholder' => __('messages.form.enter_name'), 'id' => 'paypalIntUserName']) }}
{{ Form::label('email', __('messages.common.email') . ' :', ['class' => 'form-label required ']) }} {{ Form::text('email', null, ['class' => 'form-control custom-placeholder', 'required', 'placeholder' => __('messages.form.enter_email'), 'id' => 'paypalIntUserEmail']) }}
{{ Form::label('phone', __('messages.common.phone') . ' :', ['class' => 'form-label']) }} {{ Form::text('phone', null, ['class' => 'form-control custom-placeholder', 'placeholder' => __('messages.form.enter_phone'), 'id' => 'paypalIntUserPhone']) }}
@d @if (isset($appointmentDetail->is_paid) && $appointmentDetail->is_paid == 1 && (getUserSettingValue('stripe_enable', $vcard->user->id) || getUserSettingValue('paytack_enable', $vcard->user->id) || getUserSettingValue('phonepe_enable', $vcard->user->id) || getUserSettingValue('paypal_enable', $vcard->user->id)))
{{ Form::label('payment_method', __('messages.common.payment_methods') . ' :', ['class' => 'form-label required']) }} {{ Form::select('payment_method', $appointmentDetail->is_paid == 0 ? \App\Models\Appointment::PAYMENT_METHOD : $paymentMethod, null, ['class' => 'form-control custom-placeholder form-select form-select-solid select2Selector', 'data-control' => 'select2', 'required', 'id' => 'appointmentPaymentMethod', 'placeholder' => __('messages.common.payment_methods')]) }}
{{ Form::label('phone', __('messages.common.price') . ':', ['class' => 'form-label']) }} {{ getCurrencyAmount(number_format($appointmentDetail->price), $currency->currency_icon) }}
@endif
{{ Form::button(__('messages.common.save'), ['type' => 'submit', 'class' => 'submit-btn btn btn-primary m-0', 'id' => 'serviceSave']) }}
{{ Form::close() }}