@php use App\Enums\FinanceEnquiryConcern; use App\Enums\ManagingTrusteeType; @endphp @section('beforeMain') @include('sections.banner', ['background' => '', 'space_class'=>'xlg-pt4 pt3 pb3']) @include('livewire.sections.lfd-heading', [ 'short_title' => 'Finance', 'title' => 'Finance Enquiry', 'step' => $this->step ]) @include('sections.banner_CLOSE') @endsection
@include('livewire.form.error') @if($this->firstStep()) {{-- Step 1 --}}
@include('livewire.form.select', [ 'label' => 'What is your enquiry concerning?', 'wire_model' => 'enquiry_concern', 'options' => FinanceEnquiryConcern::toArray(), 'defer' => false ])
@include('livewire.form.text', [ 'label' => 'Trust number', 'wire_model' => 'trust_number', ])
@include('livewire.form.text', [ 'label' => 'Name of managing trustee body', 'wire_model' => 'managing_trustee_name', 'help' => 'Insert name of Managing Trustee body on behalf of whom you are making this enquiry e.g. High Street', ])
@include('livewire.form.select', [ 'label' => 'Type of managing trustee body', 'wire_model' => 'managing_trustee_type', 'options' => ManagingTrusteeType::toArray(), ])
@else {{-- Step 2 --}} @include('livewire.sections.lfd-form-step-2') @endif @include('livewire.form.submit')