@if ($isDetail)

{{ __('site.repair_card_timeline') }}

{{ $timelineProgress }}%
$isDetail, ])> @foreach ($timelineRows as $rowIndex => $rowSteps) @php $rowCount = count($rowSteps); $rowClass = match ($rowCount) { 2 => 'eca-smart-card__timeline-row--pair', 3 => 'eca-smart-card__timeline-row--tail', default => '', }; @endphp
    @foreach ($rowSteps as $localIndex => $step) @php $index = ($rowIndex * 4) + $localIndex; $state = $index < $activeStepIndex ? 'done' : ($index === $activeStepIndex ? 'active' : 'pending'); @endphp
  1. @if ($state === 'done') @else {{ $index + 1 }} @endif {{ __('site.card_timeline_' . $step) }}
  2. @endforeach
@endforeach
@endif