83 lines
2.7 KiB
PHP
Executable file
83 lines
2.7 KiB
PHP
Executable file
@extends('layouts.layout-2')
|
|
|
|
@section('content')
|
|
|
|
@if ($errors->any())
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="alert alert-danger">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
|
|
<h4 class="font-weight-bold mb-4">
|
|
Content Tools: Links
|
|
</h4>
|
|
|
|
|
|
<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>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary"><i class="ion"></i> action</button>
|
|
{!! Form::close() !!}
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
<!-- Controls -->
|
|
|
|
|
|
<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>
|
|
</div>
|
|
|
|
@endsection
|
|
|