@php
    $breadcrumbs = [
        ['label' => __('common.home'), 'url' => route('dashboard.index')],
        ['label' => __('operational_ui.accounting_hub.title')],
    ];
@endphp

<x-ui.layout.page
    :title="__('operational_ui.accounting_hub.title')"
    :subtitle="__('operational_ui.accounting_hub.intro')"
    page-icon="fe fe-dollar-sign"
    :breadcrumbs="$breadcrumbs"
>
    <div class="list-group shadow-sm">
        @can('exports.access')
            @if (\Illuminate\Support\Facades\Route::has('exports.index'))
                <a href="{{ route('exports.index') }}" class="list-group-item list-group-item-action">
                    {{ __('operational_ui.link.exports') }}
                </a>
            @endif
        @endcan
        @can('operations.control.view')
            @if (\Illuminate\Support\Facades\Route::has('operations.control-center.index'))
                <a href="{{ route('operations.control-center.index') }}" class="list-group-item list-group-item-action">
                    {{ __('operational_ui.link.control_center') }}
                </a>
            @endif
            @if (\Illuminate\Support\Facades\Route::has('operations.workflow-inbox.index'))
                <a href="{{ route('operations.workflow-inbox.index') }}" class="list-group-item list-group-item-action">
                    {{ __('operational_ui.link.workflow_inbox') }}
                </a>
            @endif
        @endcan
        @if (\Illuminate\Support\Facades\Route::has('tenant.modules.finance'))
            <a href="{{ route('tenant.modules.finance') }}" class="list-group-item list-group-item-action">
                {{ __('nav.item.finance_workspace') }}
            </a>
        @endif
    </div>
</x-ui.layout.page>
