@php $tabMeta = [ 'pending' => ['label' => __('Awaiting approval'), 'icon' => 'clock'], 'approved' => ['label' => __('Approved'), 'icon' => 'check-circle'], 'all' => ['label' => __('All requests'), 'icon' => 'queue-list'], ]; @endphp
{{ $m['label'] }}
{{ $m['value'] }}
{{ $m['sub'] }}{{ __('The frozen column is exactly what was locked on closing day and has not been touched. The corrected column is what the month reads once the approved adjustments are applied on top.') }}
| {{ __('Month') }} | {{ __('Status') }} | {{ __('Corrections') }} | {{ __('Net profit (frozen)') }} | {{ __('Adjustment') }} | {{ __('Net profit (corrected)') }} |
|---|---|---|---|---|---|
| {{ $r['label'] }} |
|
{{ $r['count'] }} | {{ $r['frozen'] === null ? '—' : $baseCode.' '.number_format($r['frozen'], 2) }} | {{ $r['effect'] >= 0 ? '+' : '−' }}{{ number_format(abs($r['effect']), 2) }} | {{ $r['adjusted'] === null ? '—' : $baseCode.' '.number_format($r['adjusted'], 2) }} |
{{ __('A request changes nothing until it is approved.') }}
| {{ __('Month') }} | {{ __('Line') }} | {{ __('Effect on profit') }} | {{ __('Requested by') }} | {{ __('Status') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|
| {{ \Illuminate\Support\Carbon::create($row->period_year, $row->period_month, 1)->format('M Y') }} | {{ $row->account_label }} {{ $row->reason }} | {{ $signed >= 0 ? '+' : '−' }}{{ number_format(abs($signed), 2) }} {{ $row->direction === \App\Models\PeriodAdjustment::DIRECTION_CREDIT ? __('Credit') : __('Debit') }} | {{ $row->requester?->name ?? '—' }} {{ $row->created_at?->timezone(config('app.display_timezone'))->format('j M Y') }} |
@if ($row->isApproved())
|
@if (! $row->isApproved() && $canApprove)
@endif
@if (! $row->isApproved() && $canRequest)
@endif
@if ($row->isApproved())
{{ __('Immutable') }}
@endif
|
|
|
|||||
{{ __('This does not edit the closed month. It books a separate line against it, so the figure that was reported and the correction are both visible.') }}
{{ __('Every director is told the moment a request is raised.') }}
{{ __('Approving makes the correction count. It is added as a reconciling line on the month it names; the closed figures stay exactly as they were locked, and an approved adjustment can never be edited, only reversed by another one.') }}