@extends('vcardTemplates.vcard11.app') @section('title') {{ __('auth.contact') }} @endsection @section('page_css') @endsection @section('page_name') {{ __('auth.contact') }} @endsection @section('content')
@if ((isset($managesection) && $managesection['contact_list']) || empty($managesection)) @if ($vcard->email || $vcard->phone || $vcard->alternative_email || $vcard->alternative_phone)

{{ __('messages.vcard_11.contact_detail') }}

@if ($vcard->email)
01
{{ __('messages.vcard_11.my_email') }}
{{--

Lorem ipsum dolor sit amet, --}} {{-- consectetur --}} {{-- adipiscing elit.

--}} {{ strtoupper($vcard->email) }}
@if ($vcard->alternative_email) {{ strtoupper($vcard->alternative_email) }} @endif
@endif @if ($vcard->phone || $vcard->alternative_phone)
{{ $vcard->phone == null ? '01' : '02' }}
{{ __('messages.vcard_11.my_phones') }}
{{--

Lorem ipsum dolor sit amet, --}} {{-- consectetur --}} {{-- adipiscing elit.

--}} @if ($vcard->phone) + {{ $vcard->region_code }}-{{ $vcard->phone }}
@endif @if ($vcard->alternative_phone) + {{ $vcard->alternative_region_code }} -{{ $vcard->alternative_phone }} @endif
@endif
@endif @endif
@if ((isset($managesection) && $managesection['appointments']) || empty($managesection)) @if (checkFeature('appointments') && $vcard->appointmentHours->count())
{{-- Appointment --}}

{{ __('messages.make_appointment') }}

@include('vcardTemplates.vcard11.appointment')
@endif @endif
@if ((isset($managesection) && $managesection['business_hours']) || empty($managesection)) @if ($vcard->businessHours->count())

{{ __('messages.business.business_hours') }}

@foreach ($vcard->businessHours as $day)
{{ strtoupper(__('messages.business.' . \App\Models\BusinessHour::DAY_OF_WEEK[$day->day_of_week])) . ' :' }} {{ $day->start_time . ' - ' . $day->end_time }}
@endforeach
@endif @endif
@php $currentSubs = $vcard ->subscriptions() ->where('status', \App\Models\Subscription::ACTIVE) ->latest() ->first(); @endphp @if ($currentSubs && $currentSubs->plan->planFeature->enquiry_form && $vcard->enable_enquiry_form)

{{ __('messages.enquiry') }}

@if ((isset($managesection) && $managesection['map']) || empty($managesection)) @if ($vcard->location_url && isset($url[5]))
@endif @endif
@csrf
@if (!empty($vcard->privacy_policy) || !empty($vcard->term_condition)) @endif
@endif @if (isset($vcard['show_qr_code']) && $vcard['show_qr_code'] == 1)

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

@if ($vcard->enable_download_qr_code) @endif
@if (isset($customQrCode['applySetting']) && $customQrCode['applySetting'] == 1) {!! QrCode::color( $qrcodeColor['qrcodeColor']->red(), $qrcodeColor['qrcodeColor']->green(), $qrcodeColor['qrcodeColor']->blue(), )->backgroundColor( $qrcodeColor['background_color']->red(), $qrcodeColor['background_color']->green(), $qrcodeColor['background_color']->blue(), )->style($customQrCode['style'])->eye($customQrCode['eye_style'])->size(130)->format('svg')->generate(Request::url()) !!} @else {!! QrCode::size(130)->format('svg')->generate(Request::url()) !!} @endif
@endif
@endsection