@extends('layouts.admin') @section('title', __('pages.list_pages.validation_title')) @section('content')
@if(session('status'))
{{ session('status') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

{{ __('pages.list_pages.validation_title') }}

{{ __('pages.list_pages.choose_exercise') }}
{{ __('pages.common.clear_filter') }}
@if($fiscalYears->isEmpty())
{{ __('pages.list_pages.no_fiscal_year') }}
@else
@foreach($fiscalYears as $year)
{{ $year->company->name }}
{{ __('pages.common.fiscal_year') }} {{ $year->year }}
{{ $year->start_date->format('d/m/Y') }} → {{ $year->end_date->format('d/m/Y') }}
{{ __('pages.list_pages.rules') }}: {{ $year->validation_checks_count }}
{{ $year->financialStatement ? __('pages.list_pages.financial_calculated') : __('pages.list_pages.financial_missing') }}
{{ $year->annexes_count === 6 ? __('pages.list_pages.annexes_generated') : __('pages.list_pages.annexes_incomplete', ['count' => $year->annexes_count]) }}
{{ $year->fiscalDeclaration ? __('pages.list_pages.is_calculated') : __('pages.list_pages.is_missing') }}
@endforeach
@endif
@endsection