@if ($partName == 'basics') @if (isset($vcard)) @endif
{{ Form::label('url_alias', __('messages.vcard.url_alias') . ':', ['class' => 'form-label required']) }}
{{ Form::text('url_alias', isset($vcard) ? $vcard->url_alias : null, ['class' => 'form-control ms-1 vcard-url-alias', 'id' => 'vcard-url-alias', 'placeholder' => __('messages.form.my_vcard_url')]) }}
This URL Alias is already in use
{{ Form::label('name', __('messages.vcard.vcard_name') . ':', ['class' => 'form-label required']) }} {{ Form::text('name', isset($vcard) ? $vcard->name : null, ['class' => 'form-control', 'placeholder' => __('messages.form.vcard_name'), 'required']) }}
{{ Form::label('occupation', __('messages.vcard.occupation') . ':', ['class' => 'form-label']) }} {{ Form::text('occupation', isset($vcard) ? $vcard->occupation : null, ['class' => 'form-control', 'placeholder' => __('messages.form.occupation')]) }}
{{ Form::label('description', __('messages.vcard.description') . ':', ['class' => 'form-label']) }}
{{ Form::hidden('description', isset($vcard) ? $vcard->description : null, ['id' => 'vcardDescriptionData']) }}
{{ __('messages.allowed_file_types') }}
{{ __('messages.allowed_file_types') }}
@if (isset($vcard))

{{ __('messages.vcard.vcard_details') }}

{{ Form::label('first_name', __('messages.vcard.first_name') . ':', ['class' => 'form-label required']) }} {{ Form::text('first_name', isset($vcard) ? $vcard->first_name : null, ['class' => 'form-control', 'placeholder' => __('messages.form.f_name'), 'required']) }}
{{ Form::label('last_name', __('messages.vcard.last_name') . ':', ['class' => 'form-label required']) }} {{ Form::text('last_name', isset($vcard) ? $vcard->last_name : null, ['class' => 'form-control', 'placeholder' => __('messages.form.l_name'), 'required']) }}
{{ Form::label('email', __('messages.user.email') . ':', ['class' => 'form-label']) }} {{ Form::text('email', isset($vcard) ? $vcard->email : null, ['class' => 'form-control', 'placeholder' => __('messages.form.email')]) }}
{{ Form::label('phone', __('messages.user.phone') . ':', ['class' => 'form-label']) }} {{ Form::text('phone', isset($vcard) ? (isset($vcard->region_code) ? '+' . $vcard->region_code . '' . $vcard->phone : $vcard->phone) : null, ['class' => 'form-control', 'placeholder' => __('messages.form.phone'), 'id' => 'phoneNumber', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")']) }} {{ Form::hidden('region_code', isset($vcard) ? $vcard->region_code : null, ['id' => 'prefix_code']) }}
{{ __('messages.placeholder.valid_number') }} Invalid Number
{{ Form::label('alternative_email', __('messages.vcard.alternate_email') . ':', ['class' => 'form-label']) }} {{ Form::text('alternative_email', isset($vcard) ? $vcard->alternative_email : null, ['class' => 'form-control', 'placeholder' => __('messages.vcard.alternate_email')]) }}
{{ Form::label('alternative_phone', __('messages.vcard.alternative_phone') . ':', ['class' => 'form-label']) }} {{ Form::text('alternative_phone', isset($vcard) ? (isset($vcard->alternative_region_code) ? '+' . $vcard->alternative_region_code . '' . $vcard->alternative_phone : $vcard->alternative_phone) : null, ['class' => 'form-control', 'placeholder' => __('messages.vcard.alternative_phone'), 'id' => 'alternativePhone', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")']) }} {{ Form::hidden('alternative_region_code', isset($vcard) ? $vcard->alternative_region_code : null, ['id' => 'alternative_prefix_code']) }}
{{ __('messages.placeholder.valid_number') }} Invalid Number
{{ Form::label('location', __('messages.user.location') . ':', ['class' => 'form-label']) }} {{ Form::textarea('location', isset($vcard) ? $vcard->location : null, ['class' => 'form-control', 'placeholder' => __('messages.form.location'), 'rows' => '1']) }}
{{ Form::label('location_url', __('messages.setting.location_url') . ':', ['class' => 'form-label']) }} {{ Form::text('location_url', isset($vcard) ? $vcard->location_url : null, ['class' => 'form-control', 'placeholder' => __('messages.form.location_url')]) }}
{{ Form::label('dob', __('messages.vcard.date_of_birth') . ':', ['class' => 'form-label']) }} {{ Form::text('dob', isset($vcard) ? $vcard->dob : null, ['class' => 'form-control bg-white', 'placeholder' => __('messages.form.DOB')]) }}
{{ Form::label('company', __('messages.vcard.company') . ':', ['class' => 'form-label']) }} {{ Form::text('company', isset($vcard) ? $vcard->company : null, ['class' => 'form-control', 'placeholder' => __('messages.form.company')]) }}
@if (checkFeature('advanced')) @if (checkFeature('advanced')->hide_branding)
{{ Form::label('made_by', __('messages.made_by') . ':', ['class' => 'form-label']) }} {{ Form::text('made_by', isset($vcard) ? $vcard->made_by : null, ['class' => 'form-control', 'placeholder' => __('messages.made_by')]) }}
{{ Form::label('made_by_url', __('messages.made_by_url') . ':', ['class' => 'form-label']) }} {{ Form::text('made_by_url', isset($vcard) ? $vcard->made_by_url : null, ['class' => 'form-control', 'placeholder' => __('messages.made_by_url')]) }}
@endif @endif
{{ Form::label('job_title', __('messages.vcard.job_title') . ':', ['class' => 'form-label']) }} {{ Form::text('job_title', isset($vcard) ? $vcard->job_title : null, ['class' => 'form-control', 'placeholder' => __('messages.form.job')]) }}
{{ Form::label('default_language', __('messages.setting.default_language') . ':', ['class' => 'form-label']) }}
{{ Form::select('default_language', getAllLanguage(), isset($vcard) ? $vcard->default_language : null, ['class' => 'form-control', 'data-control' => 'select2']) }}
{{ Form::label('language_enable', __('messages.vcard.language_enable') . ':', ['class' => 'form-label']) }}
{{ Form::checkbox('language_enable', 1, $vcard['language_enable'] ?? 0, ['class' => 'form-check-input mt-0 ', 'id' => 'languageEnable']) }}
{{ Form::label('enable_enquiry_form', __('messages.vcard.enable_enquiry_form') . ':', ['class' => 'form-label']) }}
{{ Form::checkbox('enable_enquiry_form', 1, $vcard['enable_enquiry_form'] ?? 0, ['class' => 'form-check-input mt-0 ', 'id' => 'enableEnquiryForm']) }}
{{ Form::label('enable_download_qr_code', __('messages.vcard.enable_download_qr_code') . ':', ['class' => 'form-label']) }}
{{ Form::checkbox('enable_download_qr_code', 1, $vcard['enable_download_qr_code'] ?? 0, ['class' => 'form-check-input mt-0 ', 'id' => 'enableDownloadQrCode']) }}

{{ Form::label('show_qr_code', __('messages.vcard.show_qr_code') . ':', ['class' => 'form-label']) }}
{{ Form::checkbox('show_qr_code', 1, $vcard['show_qr_code'] ?? 0, ['class' => 'form-check-input mt-0 ', 'id' => 'enableQrCode']) }}
{{ $vcard['qr_code_download_size'] . 'px' }}
@endif
{{ Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary me-3', 'id' => 'vcardSaveBtn']) }} {{ __('messages.common.discard') }}
@endif @if ($partName == 'templates')
@foreach ($templates as $id => $url)
Template
@endforeach
status ? 'checked' : '' }}>
{{ __('messages.common.discard') }}
@endif @if ($partName === 'business-hours')
@foreach (\App\Models\BusinessHour::DAY_OF_WEEK as $key => $day)
{{ Form::select('startTime[' . $key . ']', getSchedulesTimingSlot(), isset($hours[$key]) ? $hours[$key]['start_time'] : null, ['class' => 'form-control', 'data-control' => 'select2']) }}
To
{{ Form::select('endTime[' . $key . ']', getSchedulesTimingSlot(), isset($hours[$key]) ? $hours[$key]['end_time'] : null, ['class' => 'form-control', 'data-control' => 'select2']) }}
@endforeach
{{ __('messages.common.discard') }}
@endif @if ($partName == 'appointments')
@foreach (App\Models\BusinessHour::WEEKDAY_NAME as $day => $shortWeekDay) @endforeach
@include('vcards.appointment.slot', ['day' => $day])

{{ __('messages.appointment.appointment_type') }}

@if (isset($appointmentDetail->is_paid)) @else @endif
{{ Form::label('price', __('messages.subscription.amount') . ':', ['class' => 'form-label required']) }} @if (isset($appointmentDetail)) {{ Form::number('price', $appointmentDetail->price, ['class' => 'form-control', $appointmentDetail->is_paid == 1 ? 'required' : '', 'id' => 'userPaymentAmount', 'placeholder' => __('messages.subscription.amount'), 'min' => '0']) }} @else {{ Form::number('price', null, ['class' => 'form-control', 'id' => 'userPaymentAmount', 'placeholder' => __('Amount'), 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")', 'min' => '0']) }} @endif
{{ __('messages.common.discard') }}
@endif @if ($partName == 'social-links')

{{ __('messages.setting.note') }}

{{ __('messages.common.discard') }}
@endif @if ($partName == 'advanced')
@if (checkFeature('advanced')->password)
@endif @if (checkFeature('advanced')->custom_css)
{{ Form::label('custom_css', __('messages.vcard.custom_css') . ':', ['class' => 'form-label']) }} {{ Form::textarea('custom_css', isset($vcard) ? $vcard->custom_css : null, ['class' => 'form-control', 'placeholder' => __('messages.form.css'), 'rows' => '5']) }}
@endif @if (checkFeature('advanced')->custom_js)
{{ Form::label('custom_js', __('messages.vcard.custom_js') . ':', ['class' => 'form-label']) }} {{ Form::textarea('custom_js', isset($vcard) ? $vcard->custom_js : null, ['class' => 'form-control', 'placeholder' => __('messages.form.js'), 'rows' => '5']) }}
@endif @if (checkFeature('advanced')->hide_branding)
branding ? 'checked' : '' }}>
@endif
{{ __('messages.common.discard') }}
@endif @if ($partName == 'custom-fonts')
{{ Form::label('font_family', __('messages.font.font_family') . ':', ['class' => 'form-label']) }} {{ Form::select( 'font_family', \App\Models\Vcard::FONT_FAMILY, \App\Models\Vcard::FONT_FAMILY[$vcard->font_family], ['class' => 'form-select', 'data-control' => 'select2'], ) }}
{!! Form::label('font_size', __('messages.font.font_size') . ':', ['class' => 'form-label']) !!} {!! Form::number('font_size', $vcard->font_size, [ 'class' => 'form-control', 'min' => '14', 'max' => '40', 'placeholder' => __('messages.font.font_size_in_px'), ]) !!}
{{ __('messages.common.discard') }}
@endif @if ($partName == 'seo')
{{ Form::label('Site title', __('messages.vcard.site_title') . ':', ['class' => 'form-label']) }} {{ Form::text('site_title', isset($vcard) ? $vcard->site_title : null, ['class' => 'form-control', 'placeholder' => __('messages.form.site_title')]) }}
{{ Form::label('Home title', __('messages.vcard.home_title') . ':', ['class' => 'form-label']) }} {{ Form::text('home_title', isset($vcard) ? $vcard->home_title : null, ['class' => 'form-control', 'placeholder' => __('messages.form.home_title')]) }}
{{ Form::label('Meta keyword', __('messages.vcard.meta_keyword') . ':', ['class' => 'form-label']) }} {{ Form::text('meta_keyword', isset($vcard) ? $vcard->meta_keyword : null, ['class' => 'form-control', 'placeholder' => __('messages.form.meta_keyword')]) }}
{{ Form::label('Meta Description', __('messages.vcard.meta_description') . ':', ['class' => 'form-label']) }} {{ Form::text('meta_description', isset($vcard) ? $vcard->meta_description : null, ['class' => 'form-control', 'placeholder' => __('messages.form.meta_description')]) }}
{{ Form::label('Google Analytics', __('messages.vcard.google_analytics') . ':', ['class' => 'form-label']) }} {{ Form::textarea('google_analytics', isset($vcard) ? $vcard->google_analytics : null, ['class' => 'form-control', 'placeholder' => __('messages.form.google_analytics')]) }}
{{ __('messages.common.discard') }}
@endif @if ($partName == 'privacy-policy')
{{ Form::hidden('id', isset($privacyPolicy) ? $privacyPolicy->id : null, ['id' => 'privacyPolicyId']) }} {{ Form::label('privacy_policy', __('messages.vcard.privacy_policy') . ':', ['class' => 'form-label required']) }}
{{ Form::hidden('privacy_policy', isset($privacyPolicy) ? $privacyPolicy->privacy_policy : null, ['id' => 'privacyData']) }}
{{ __('messages.common.discard') }}
@endif @if ($partName == 'term-condition')
{{ Form::hidden('id', isset($termCondition) ? $termCondition->id : null, ['id' => 'termConditionId']) }} {{ Form::label('term_condition', __('messages.vcard.term_condition') . ':', ['class' => 'form-label required']) }}
{{ Form::hidden('term_condition', isset($termCondition) ? $termCondition->term_condition : null, ['id' => 'conditionData']) }}
{{ __('messages.common.discard') }}
@endif @if ($partName == 'qrcode-customize')
{{ Form::label('QR-Code Color', __('messages.vcard.qrcode_color') . ':', ['class' => 'form-label']) }} {{ Form::color('qrcode_color', isset($customQrCode['qrcode_color']) ? $customQrCode['qrcode_color'] : null, ['class' => 'form-control form-control-color w-50 mb-3', 'id' => 'qrcode_color']) }}
{{ Form::label('Background Color', __('messages.vcard.back_color') . ':', ['class' => 'form-label']) }} {{ Form::color('background_color', isset($customQrCode['background_color']) ? $customQrCode['background_color'] : null, ['class' => 'form-control form-control-color w-50 mb-3', 'id' => 'background_color']) }}
{{ Form::select('style', App\Models\QrcodeEdit::QRCODE_STYLE, isset($customQrCode['style']) ? $customQrCode['style'] : null, ['class' => 'form-control form-select', 'data-control' => 'select2', 'id' => 'qrcodeStyle', 'wire:ignore']) }}
{{ Form::select('eye_style', App\Models\QrcodeEdit::QRCODE_EYE_STYLE, isset($customQrCode['eye_style']) ? $customQrCode['eye_style'] : null, ['class' => 'form-control form-select', 'data-control' => 'select2', 'id' => 'qrcodeEyeStyle', 'wire:ignore']) }}
{{ __('messages.common.discard') }}
@endif @if ($partName == 'manage-section')
{{ __('messages.common.discard') }}
@endif