phase 2 dev
This commit is contained in:
parent
5a7478907e
commit
ba48745809
59 changed files with 2692 additions and 1994 deletions
|
|
@ -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) }} €
|
||||
<span class="mx-2">·</span>
|
||||
<strong>rechnerisch</strong> (Organisation + Vermittlung):
|
||||
{{ \App\Services\Util::_number_format($priceTotalComputed) }} €
|
||||
@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()) }} €
|
||||
@endif
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<hr>
|
||||
<div class="text-left mt-3">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue