Lasse Vergaben auf Abruf und bei Registrierung nicht als Shop-Option aendern
CI Feature / test (push) Successful in 3m35s
Deploy Test / test (push) Successful in 3m31s
Deploy Test / deploy (push) Successful in 27s

Der Abschnitt "Im Shop verkaufen" listet alle Angebote eines Artikels. Fuer
Vergaben auf Abruf oder bei Registrierung bot er "Aendern" und "Aus dem
Verkauf nehmen" an; "Aendern" haette sie zum Kauf umgestellt. Jetzt zeigt der
Abschnitt sie nur noch mit dem Hinweis, dass sie am Angebot bearbeitet
werden, die Aktionen liefern 404, und reviseArticleOption lehnt sie ab.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-25 22:35:02 +01:00
1 parent 3b0b4c955e
commit 657578455f
4 files changed
+44 -4

No files matched your search

@@ -90,9 +90,13 @@
<span @class(['vw-zustand', 'is-'.$option['zustand']['ton']])>{{ $option['zustand']['label'] }}</span>
<span class="vw-feld-hilfe">{{ $option['price'] }} · {{ $option['licence'] }} · {{ $option['for'] }} · Rechte: {{ $option['rights'] }} · Fassung {{ $option['number'] }}</span>
<span class="vw-zeilenaktionen">
<button type="button" class="vw-link" wire:click="mountAction('option', { offer: {{ $option['offer'] }} })">{{ $option['active'] ? 'Ändern' : 'Wieder anbieten' }}</button>
@if ($option['active'])
<button type="button" class="vw-link is-quiet" wire:click="mountAction('optionEnd', { offer: {{ $option['offer'] }} })">Aus dem Verkauf nehmen</button>
@if ($option['kauf'])
<button type="button" class="vw-link" wire:click="mountAction('option', { offer: {{ $option['offer'] }} })">{{ $option['active'] ? 'Ändern' : 'Wieder anbieten' }}</button>
@if ($option['active'])
<button type="button" class="vw-link is-quiet" wire:click="mountAction('optionEnd', { offer: {{ $option['offer'] }} })">Aus dem Verkauf nehmen</button>
@endif
@else
<span class="vw-feld-hilfe">Kein Kauf im Shop. Diese Vergabe bearbeitest du am Angebot.</span>
@endif
@if ($option['page'])
<a class="vw-link is-quiet" href="{{ $option['page'] }}" target="_blank" rel="noopener">Produktseite ansehen</a>