@extends("client.layouts.app") @section("title", __("client.contact.title")) @section("content")

{{ __('client.contact.heading') }}

{{ __('client.contact.subtitle') }}

@include('client.partials.aside-grid-style')
{{ __('client.contact.send_message') }}
@if($errors->any())
    @foreach($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif
@csrf
user()?->full_name) }}" required maxlength="100" class="form-control">
user()?->email) }}" required maxlength="200" class="form-control">
@include('client.partials.recaptcha', ['form' => 'contact'])
{{-- Who the customer is dealing with. E-commerce law in most places wants the seller's trading name, address, telephone and tax details reachable on the site itself, not only inside the contracts. Read from the settings the invoice and the legal documents also read, so the three can never disagree. --}} @php $sellerLines = array_values(array_filter([ trim((string) \App\Models\Setting::get('CompanyLegalName', '')), trim((string) \App\Models\Setting::get('Address', '')), trim(implode(' ', array_filter([ trim((string) \App\Models\Setting::get('Postcode', '')), trim((string) \App\Models\Setting::get('CompanyCity', '')), ]))), trim((string) \App\Models\Setting::get('Country', '')), ])); $sellerPhone = trim((string) \App\Models\Setting::get('PhoneNumber', '')); $sellerEmail = trim((string) \App\Models\Setting::get('Email', '')); $sellerTaxOffice = trim((string) \App\Models\Setting::get('TaxOffice', '')); $sellerTaxId = trim((string) \App\Models\Setting::get('TaxID', '')); $sellerRegistry = trim((string) (\App\Models\Setting::get('MersisNo', '') ?: \App\Models\Setting::get('TradeRegistryNo', ''))); @endphp @if($sellerLines || $sellerPhone || $sellerEmail)
{{ __('client.contact.company_details') }}
@foreach($sellerLines as $line)
{{ $line }}
@endforeach @if($sellerPhone)@endif @if($sellerEmail)@endif @if($sellerTaxOffice || $sellerTaxId)
@if($sellerTaxOffice){{ __('client.contact.tax_office') }}: {{ $sellerTaxOffice }}@endif @if($sellerTaxOffice && $sellerTaxId) · @endif @if($sellerTaxId){{ __('common.form.tax_id') }}: {{ $sellerTaxId }}@endif
@endif @if($sellerRegistry)
{{ __('client.contact.registry_no') }}: {{ $sellerRegistry }}
@endif
@endif
{{ __('client.contact.prefer_tickets') }}

{{ __('client.contact.ticket_benefit') }}

{{ __('client.nav.open_ticket') }}
@if(kb_enabled())
{{ __('client.nav.knowledge_base') }}

{{ __('client.contact.kb_benefit') }}

{{ __('client.contact.browse_articles') }}
@endif
@endsection