@if (ticket) {
  <div class="flex justify-between">
    <span class="text-base">
      {{ ticket.tours.at(0)?.ordinanceType }}
    </span>
    <div>
      @if (ticket.errors.length) {
        <mat-icon
          [matBadge]="ticket.errors.length"
          matBadgeColor="warn"
          [title]="ticket.errors.length + ' Anmerkungen'"
          aria-hidden="false"
          >
          error
        </mat-icon>
      }
    </div>
  </div>
  <span
    >{{ ticket.tours.at(0)?.patientName }}
    {{ ticket.tours.at(0)?.patientSurname }}</span
    >
    <span
      >{{ getToursLength() }} Tour{{
      getToursLength() > 1 ? 'en' : ''
      }}</span
      >
      <span class="text-xs self-end">{{ getDistance(ticket.createdAt) }}</span>
    }
