@if (!$hasCycles)
No circular parent links were found in chart accounts or cost centers.
@else
Circular parent links were found. Fix these records before relying on tree reports or account selectors.
@if ($accountCycles->isNotEmpty())
Chart Of Accounts
@foreach ($accountCycles as $cycle)
@foreach ($cycle as $account)
{{ $account->code }} - {{ $account->title }}
@endforeach
@endforeach
@endif
@if ($costCenterCycles->isNotEmpty())
Cost Centers
@foreach ($costCenterCycles as $cycle)
@foreach ($cycle as $costCenter)
{{ $costCenter->code }} - {{ $costCenter->title }}
@endforeach
@endforeach
@endif
@endif