@php
    $crumbMember = auth()->user()
        ? app(\App\Services\Care\OrganizationResolver::class)->memberFor(auth()->user())
        : null;
    $permissions = app(\App\Services\Care\CarePermissions::class);
    $crumbToStation = $permissions->can($crumbMember, 'nursing.station.view')
        && ! $permissions->can($crumbMember, 'admin.departments.view');
@endphp
<a href="{{ $crumbToStation ? route('care.nursing.station', ['unit' => $unit->id]) : route('care.care-units.show', $unit) }}" class="text-indigo-600 hover:text-indigo-800">{{ $unit->name }}</a>
