state, [self::OK, self::PRICE_CHANGED, self::TERMS_CHANGED], true); } /** Verhindert den Abschluss, bis der Käufer die Position selbst entfernt oder den Inhaber wechselt. */ public function blocks(): bool { return in_array($this->state, [self::WITHDRAWN, self::WRONG_HOLDER], true); } public function title(): string { if ($this->offer->standalone_bundle && $this->version !== null) { $bundle = app(ProductOptions::class)->bundleOf($this->version); if ($bundle !== null) { return (string) $bundle->name; } } $composition = $this->offer->composition; return $composition !== null ? (string) ($composition->display_title ?: $composition->designation) : (string) $this->offer->name; } }