last 12.21
This commit is contained in:
parent
73e38a006e
commit
3df0e93c2c
14 changed files with 395 additions and 43 deletions
|
|
@ -23,27 +23,60 @@
|
|||
|
||||
|
||||
<div class="card mb-4">
|
||||
|
||||
<div class="card-body">
|
||||
<!-- Controls -->
|
||||
{!! Form::open(['url' => route('sysadmin_tools_content_links'), 'class' => '']) !!}
|
||||
<div class="form-group mb-1">
|
||||
<label class="form-label" for="description">Description</label>
|
||||
{{ Form::textarea('text', $text, array('class'=>'form-control', 'rows'=>20)) }}
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary"><i class="ion"></i> action</button>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
||||
@if(count($values)>0)
|
||||
<div class="card-body">
|
||||
<!-- Controls -->
|
||||
@foreach($values as $key=>$value)
|
||||
{{ $key }} || {{$value}}<br>
|
||||
@endforeach
|
||||
|
||||
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table user-view-table m-0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Nachname</th>
|
||||
<th>Organisation</th>
|
||||
<th>Service</th>
|
||||
<th>Gesamt</th>
|
||||
<th>Check</th>
|
||||
|
||||
<th>Storno</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($bookings as $booking)
|
||||
<tr>
|
||||
<td><a href="{{ route('booking_detail', [$booking->id]) }}">{{ $booking->id }}</a></td>
|
||||
<td>{{ $booking->customer->fullName() }}</td>
|
||||
<td>{{ $booking->price }}</td>
|
||||
<td>{{ $booking->getServiceTotal() }}</td>
|
||||
|
||||
<td>{{ $booking->price_total }}</td>
|
||||
<td>@if($booking->getPriceTotalRaw() != ($booking->getPriceRaw() + $booking->getServiceTotal(true)))
|
||||
{{ ($booking->getPriceRaw() + $booking->getServiceTotal(true)) }}
|
||||
@endif
|
||||
</td>
|
||||
<td>@if($booking->isCanceled()) {{ $booking->price_canceled }} @endif</td>
|
||||
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue