@if(!$add && !$update)

@if(!$add && !$update)causali @else Inserimento/modifica causale @endif

@if(!$add && !$update) @endif

Entrata

@foreach($recordsIn as $record) @if(count($record->childs)) @include('livewire/causal_child',['records' => $record->childs, 'indentation' => 1]) @endif @endforeach
Nome Tipologia Abilitato ...
{{$record->name}} {{$record->type == 'IN' ? 'Entrata' : 'Uscita'}} {{$record->enabled ? 'attivo' : 'disattivo'}}

Uscita

@foreach($recordsOut as $record) @if(count($record->childs)) @include('livewire/causal_child',['records' => $record->childs, 'indentation' => 1]) @endif @endforeach
Nome Tipologia Abilitato ...
{{$record->name}} {{$record->type == 'IN' ? 'Entrata' : 'Uscita'}} {{$record->enabled ? 'attivo' : 'disattivo'}}
@else


@if (session()->has('error')) @endif
@if($parent != '')

Aggiungi livello a {{$parent}}


@endif
@error('name')
{{ $message }}
@enderror
@if($corrispettivo_causal_id == 0 || $corrispettivo_causal_id == $dataId) @else @endif
@if($add) @endif @if($update) @endif
@endif
@push('scripts') @endpush