Verhindere Umbruch von Datum und Bestellnummer im Zahlungsjournal
CI Feature / test (push) Successful in 3m58s
Deploy Test / test (push) Successful in 3m32s
Deploy Test / deploy (push) Successful in 39s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-23 07:46:01 +01:00
1 parent fe39e1efb6
commit f87e67ce02
2 files changed
+7 -3

No files matched your search

@@ -54,7 +54,7 @@
<div class="vw-bestand-filter">
<label class="vw-feldlabel" for="journal-art">Art</label>
<select id="journal-art" class="vw-auswahlfeld" wire:model.live="art">
<option value="alle">Einnahmen und Erstattungen</option>
<option value="alle">Alle Bewegungen</option>
<option value="eingang">Nur Einnahmen</option>
<option value="erstattung">Nur Erstattungen</option>
</select>
@@ -128,10 +128,10 @@
$billing = (array) ($payer['billing'] ?? []);
@endphp
<tr wire:key="journal-{{ $e->id }}" @class(['is-erstattung' => $e->isRefund()])>
<td data-label="Datum">{{ $lokal->format('d.m.Y') }}@if (\App\Domain\Commerce\PaymentJournal::hasTime($e)) <span class="vw-feld-hilfe">{{ $lokal->format('H:i') }}</span>@endif</td>
<td data-label="Datum" class="is-kurz">{{ $lokal->format('d.m.Y') }}@if (\App\Domain\Commerce\PaymentJournal::hasTime($e)) <span class="vw-feld-hilfe">{{ $lokal->format('H:i') }}</span>@endif</td>
<td data-label="Art"><span @class(['vw-zustand', 'is-gut' => ! $e->isRefund(), 'is-offen' => $e->isRefund()])>{{ $e->isRefund() ? 'Erstattung' : 'Zahlungseingang' }}</span></td>
<td data-label="Betrag" class="is-zahl"><strong>{{ $e->amount_cents < 0 ? '−' : '' }}{{ $euro(abs($e->amount_cents)) }}</strong></td>
<td data-label="Bestellung"><a class="vw-link" href="{{ \App\Filament\Resources\Orders\OrderResource::getUrl('view', ['record' => $e->order_id]) }}">Bestellung {{ $e->order_id }}</a></td>
<td data-label="Bestellung" class="is-kurz"><a class="vw-link" href="{{ \App\Filament\Resources\Orders\OrderResource::getUrl('view', ['record' => $e->order_id]) }}">Bestellung {{ $e->order_id }}</a></td>
<td data-label="Zahler">
@if ($billing !== [])
{{ $billing['recipient'] ?? '' }}@if (filled($billing['line2'] ?? null)), {{ $billing['line2'] }}@endif<br>
@@ -592,6 +592,8 @@
.vw-journal-tabelle td { padding: 0.65rem 0.75rem; vertical-align: top; border-bottom: 1px solid var(--vw-line); overflow-wrap: anywhere; }
.vw-journal-tabelle tbody tr:last-child td { border-bottom: 0; }
.vw-journal-tabelle .is-zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vw-journal-tabelle .is-kurz { white-space: nowrap; }
.vw-journal .vw-auswahlfeld { min-width: 13rem; }
.vw-journal-tabelle tr.is-erstattung td { background: #fffaf0; }
.vw-journal-tabelle .vw-feld-hilfe { display: block; }
.vw-journal-ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: var(--vw-tiny); }
@@ -603,6 +605,8 @@
.vw-journal-tabelle td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.5rem; padding: 0.5rem 0.75rem; text-align: left; }
.vw-journal-tabelle td::before { content: attr(data-label); font-weight: 650; color: var(--vw-quiet); }
.vw-journal-tabelle .is-zahl { text-align: left; }
.vw-journal-tabelle .is-kurz { white-space: normal; }
.vw-journal .vw-auswahlfeld { min-width: 0; }
}
@media (max-width: 80rem) {