@php
  $asportiRitiro = $asportiRitiro ?? collect();
@endphp
<div class="col-xl-3 col-md-6">
  <div class="asporto-lane h-100">
    <div class="asporto-lane__head asporto-lane__head--pick">
      <div>
        <div class="fw-semibold" style="color: var(--asp-pick);"><i class="bx bx-walk me-1"></i>Da ritirare</div>
        <div class="small text-muted">Consegna al cliente</div>
      </div>
      <span class="badge rounded-pill bg-success" id="badge-pick">{{ $asportiRitiro->count() }}</span>
    </div>
    <div class="asporto-lane__body" id="lane-pick">
      @forelse($asportiRitiro as $asporto)
        @include('asporto._partials.card', [
          'asporto' => $asporto,
          'variante' => 'pick',
          'modalTarget' => null,
        ])
      @empty
        <div class="text-muted small text-center py-4">Nessun ordine in ritiro</div>
      @endforelse
    </div>
    @if(!empty($mostraLinkPostazione))
      <div class="asporto-lane__foot">
        <a href="{{ route('asporto.postazione.ritiro') }}" class="btn btn-sm btn-label-success w-100">
          Vai alla postazione: <i class="bx bx-right-arrow-alt"></i>
        </a>
      </div>
    @endif
  </div>
</div>
