offer_version) { throw ReservationException::offerOutdated(); } if ($booking->status !== BookingStatus::OfferSent) { throw ReservationException::invalidTransition($booking->status->getLabel(), 'abgelehnt'); } $booking->update([ 'status' => BookingStatus::Declined, 'declined_by' => 'guest', 'hold_expires_at' => null, ]); try { Mail::to(config('fewo.notification_email'))->send(new OfferAnswered($booking, accepted: false)); } catch (Throwable $exception) { report($exception); } } }