{{-- The order's latest acceptance, one row per service and domain: what happened to it and why. --}} @if($activationSteps->isNotEmpty()) @php $failed = $activationSteps->whereIn('status', ['failed', 'interrupted'])->count(); $canSeeLog = (bool) auth('admin')->user()?->hasPermission('view_activity_log'); $waiting = $activationSteps->where('status', 'waiting')->count(); $styles = [ 'queued' => ['#666', '#eee'], 'running' => ['#31708f', '#d9edf7'], 'done' => ['#3c763d', '#dff0d8'], 'skipped' => ['#666', '#eee'], 'waiting' => ['#8a6d3b', '#fcf8e3'], 'failed' => ['#a94442', '#f2dede'], 'interrupted' => ['#a94442', '#f2dede'], ]; @endphp
| {{ __('admin.orders.activation_item') }} | {{ __('common.table.status') }} | {{ __('admin.orders.activation_detail') }} |
|---|---|---|
| {{ $step->label }} | {{ __('admin.orders.step_'.$step->status) }} | {{ $step->message }} @if($canSeeLog && in_array($step->status, ['failed', 'interrupted'], true)) {{-- What the server or registrar was actually asked and answered. --}} {{ __('admin.logs.view_module_log') }} @endif |