@extends('admin.layouts.app') @php $actionName = app()->getLocale() === 'ar' ? ($action->name_ar ?: $action->name_en) : $action->name_en; @endphp @section('title', __('admin.actions_matrix.title') . ' — ' . $actionName) @section('page_title', __('admin.actions_matrix.title')) @push('styles') @endpush @section('content')
← {{ __('admin.nav.actions') }}

{{ $actionName }}{{ $actionKey }}

@if ($assigned->isNotEmpty()) {{ trans_choice(':n agent|:n agents', $assigned->count(), ['n' => $assigned->count()]) }} @endif
@if ($assigned->isEmpty())
{{ __('admin.actions_matrix.no_assigned') }} {{ __('admin.user_menu.ai_agents') }}
@else
@foreach ($assigned as $row)
{{ $row['name'] }}{{ $row['agent_key'] }}
@endforeach
@endif
@endsection @push('scripts') @endpush