@push('styles') @endpush
@php $projectCategoryId = data_get($simulation, 'project_category_id') @endphp
!$projectCategoryId])> @lang('Simulator') @if($this->simulationId) @endif
@if($this->simulationId)

En cliquant sur Sauvegarder vous allez éditer la simulation {{ $this->ref }} et le client associé.

@endif
$projectCategoryId])>
Sélectionnez un type de crédit
@foreach($this->projectCategories as $id => $category) @php $enum = ProjectCategoriesId::from($id) @endphp
@endforeach
!$projectCategoryId])>
{{--
@svg('settings')
@lang('Simulator')

@lang('Create and manage your loan simulations')

--}}
@if(! $this->simulationId)
{{ $this->selected_category_label ?? '' }}
@else
{{ $this->selected_category_label ?? '' }} {{ $this->ref }} {{ $this->product['bank']['name'] ?? '' }} {{ $this->product['name'] ?? '' }} {{ str()->formatDecimal($this->simulation['credit_amount'] ?? '') }}€
@endif
@if($this->showClientForm)
{{-- @if($this->client->exists) @if(!$this->client->is_lead) @else @lang('View lead details') @endif @endif --}}
@if($this->showClientForm)
Projet
@endif
@else
@endif
! (data_get($simulation, 'project_category_id') && $this->simulations)])>
!$projectCategoryId])> @livewire('simulations.temporary-simulations-table', [ 'restrict' => ($this->client->exists ? ['client_id' => $this->client->id] : []), 'params' => ['session_only' => !$this->client->exists], 'isLead' => $this->client->is_lead, 'showPagination' => false, 'loader' => true ])
@if($this->showClientForm)
!$this->client->exists])>

Notes

@if($this->client->exists)
@livewire('notes.notes-viewer', [ 'modelClass' => $this->client->getMorphClass(), 'modelId' => $this->client->id, 'loader' => true, 'hasChannels' => false, 'showTitle' => false, 'view' => 'notes-viewer-chat', ])
@endif
@endif