@extends('admin.layouts.app') @section('title', get_setting('site_name').' | '.$fundLabel.' '.__('Finance Year Close')) @section('content')
{{ $fundLabel }} — {{ __('Finance Year Close') }}

{{ __('Manage finance year close with maker-checker approval.') }}

{{ __('Close new finance year') }}
@forelse($years as $year) @php $periodStart = \Carbon\Carbon::create($year->fiscal_year_end - 1, 7, 1)->format('d.m.Y'); $periodEnd = \Carbon\Carbon::create($year->fiscal_year_end, 6, 30)->format('d.m.Y'); @endphp @empty @endforelse
{{ __('Finance year ends') }} {{ __('Period') }} {{ __('Status') }} {{ __('Profit pool') }} {{ __('Prepared') }} {{ __('Closed') }}
30.06.{{ $year->fiscal_year_end }} {{ $periodStart }} — {{ $periodEnd }} {{ str_replace('_', ' ', ucfirst($year->status)) }} {{ $year->total_profit_pool !== null ? number_format((float) $year->total_profit_pool, 2) : '—' }} {{ $year->preparedByUser?->name ?? '—' }} {{ $year->closed_at?->format('Y-m-d H:i') ?? '—' }} {{ __('View') }}
{{ __('No finance year close records yet.') }}
@endsection