@if ($this->redaktionOpen) @include('filament.verwaltung.redaktion') @else @php /** @var \App\Domain\Catalog\LicenseArticle $artikel */ $artikel = $this->getRecord(); $profil = $this->editorialProfile('artikel'); $quelle = $this->redaktionQuelle(); $titel = $this->redaktionTitel(); $offen = $this->redaktionOffen(); $aktionen = []; $ohneStand = ! $artikel->current_release_id; if ($ohneStand) { $aktionen[] = ['label' => 'Inhalt festlegen', 'wire' => "mountAction('release')", 'art' => 'primary']; } if ($this->canEditEditorial()) { $aktionen[] = ['label' => 'Redaktion bearbeiten', 'wire' => "openRedaktion('texte')", 'art' => $ohneStand ? 'line' : 'line', 'icon' => 'stift']; } $mehr = [ ['label' => $ohneStand ? 'Inhalt festlegen' : 'Neuen Stand veröffentlichen', 'wire' => "mountAction('release')", 'hinweis' => $ohneStand ? 'Freigegebenen Inhalt wählen, den der Artikel lizenziert.' : 'Neuer Artikelstand aus einer freigegebenen Fassung.'], ['label' => 'Stand zurückziehen', 'wire' => "mountAction('withdraw')", 'hinweis' => 'Rechtlich notwendiger Rückzug mit Begründung.', 'gefahr' => true], ]; @endphp
@include('filament.verwaltung.kopf', [ 'brot' => [['label' => 'Lizenzartikel', 'href' => \App\Filament\Resources\LicenseArticles\LicenseArticleResource::getUrl('index')], $titel], 'titel' => $titel, 'typ' => 'Lizenzartikel · Kennung '.$artikel->code.($artikel->product_line ? ' · '.$artikel->product_line : ''), 'status' => [ ['text' => \Illuminate\Support\Str::before($stand[0] ?? '', ' · Dasselbe'), 'ton' => $artikel->current_release_id ? 'gut' : 'neutral'], $offen ? ['text' => 'Redaktion mit ungespeicherten Änderungen', 'ton' => 'offen', 'aktion' => ['label' => 'Zur Redaktion', 'wire' => "openRedaktion('".$this->redaktionTab."')"]] : null, ], 'aktionen' => $aktionen, 'mehr' => $mehr, ]) @if ($this->deskFeedback !== '')

{{ $this->deskFeedback }}

@endif @include('filament.verwaltung.abgang', ['offen' => $offen])

Präsentation des Artikels

@if ($quelle) Quelle: {{ $quelle['titel'] }} ({{ $quelle['art'] }}) @endif
@foreach (['display_title' => 'Name', 'teaser' => 'Teaser', 'summary' => 'Kurzbeschreibung'] as $feld => $label)
{{ $label }}
{{ $profil->value($feld) ?? 'Keine Angabe' }} @if ($profil->origin($feld) === 'quelle') Übernommen @elseif ($profil->origin($feld) === 'eigen') Eigene Angabe @endif
@endforeach
Präsentationsmedien
{{ count(app(\App\Domain\Catalog\PresentationMedia::class)->staged($artikel)) }} Zuordnungen
@if ($this->canEditEditorial())
@endif

Im Shop verkaufen

Jede Option ist eine Lizenz mit Rechteprofil und Preis. Alle Optionen erscheinen auf der Produktseite dieses Artikels.
@if (! $this->canOffer())

Zuerst den Inhalt festlegen: Ohne veröffentlichten Stand lizenziert der Artikel nichts und lässt sich nicht verkaufen.

@else @php($optionen = $this->optionRows()) @if ($optionen === [])
Noch keine Option

Lege fest, mit welchem Rechteprofil und zu welchem Preis der Artikel verkauft wird. Mehrere Optionen, etwa für Privatpersonen und für Vereine, sind möglich.

@else
    @foreach ($optionen as $option)
  • {{ $option['name'] }} {{ $option['zustand']['label'] }} {{ $option['price'] }} · {{ $option['licence'] }} · {{ $option['for'] }} · Rechte: {{ $option['rights'] }} · Fassung {{ $option['number'] }} @if ($option['kauf']) @if ($option['active']) @endif @else Kein Kauf im Shop. Diese Vergabe bearbeitest du am Angebot. @endif @if ($option['page']) Produktseite ansehen @endif Angebot öffnen
  • @endforeach
@endif
@endif
@endif