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">
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@
|
|||
},
|
||||
{
|
||||
data: 'id',
|
||||
name: 'customer.id'
|
||||
name: 'contacts.id'
|
||||
},
|
||||
{
|
||||
data: 'firstname',
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
<p><strong>Kunde: </strong>
|
||||
{{ $customer_mail->customer->salutation->name }} {{ $customer_mail->customer->title }} {{ $customer_mail->customer->firstname }} {{ $customer_mail->customer->name }}
|
||||
@if($customer_mail->booking)
|
||||
({{$customer_mail->booking->lead_id}})
|
||||
({{$customer_mail->booking->inquiry_id}})
|
||||
@endif
|
||||
</p>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
{{-- @endif --}}
|
||||
</td>
|
||||
<td align="left" style="color: #000; padding:0.5rem">
|
||||
Buchungsnummer: <strong>{{ $booking->lead_id }}</strong><br />
|
||||
Buchungsnummer: <strong>{{ $booking->inquiry_id }}</strong><br />
|
||||
Buchungsdatum: <strong>{{ _format_date($booking->booking_date) }}</strong><br /><br />
|
||||
Reisetermin: <strong>{{ _format_date($booking->start_date) }} -
|
||||
{{ _format_date($booking->end_date) }}</strong><br />
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>Buchungsnummer:</td>
|
||||
<td><strong>{{ $booking->lead_id }}</strong></td>
|
||||
<td><strong>{{ $booking->inquiry_id }}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Buchungsdatum:</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue