phase 2 dev

This commit is contained in:
Kevin Adametz 2026-04-22 16:01:27 +02:00
parent 5a7478907e
commit ba48745809
59 changed files with 2692 additions and 1994 deletions

View file

@ -121,6 +121,25 @@
</div>
</div>
@php
$priceTotalStored = $booking->getPriceTotalRaw();
$priceTotalComputed = round((float) $booking->getPriceRaw() + (float) $booking->getServiceTotal(true), 2);
@endphp
<div class="col-12">
<p class="small text-muted border rounded px-3 py-2 mb-3 bg-light">
<strong>price_total</strong> (gespeichert in DB):
{{ \App\Services\Util::_number_format($priceTotalStored ?? 0) }}&nbsp;
<span class="mx-2">·</span>
<strong>rechnerisch</strong> (Organisation + Vermittlung):
{{ \App\Services\Util::_number_format($priceTotalComputed) }}&nbsp;
@if($booking->isCanceled() && $booking->getPriceCanceledRaw() !== null)
<span class="mx-2">·</span>
<strong>laut Storno-Logik</strong> (= Storno-Betrag <code>price_canceled</code>):
{{ \App\Services\Util::_number_format((float) $booking->getPriceCanceledRaw()) }}&nbsp;
@endif
</p>
</div>
<div class="col-12">
<hr>
<div class="text-left mt-3">