70 lines
No EOL
3.4 KiB
PHP
Executable file
70 lines
No EOL
3.4 KiB
PHP
Executable file
<div class="card mb-2">
|
|
<h6 class="card-header bg-primary text-white py-2" data-toggle="collapse" data-target="#collapseBookingCompany" aria-expanded="false" aria-controls="collapseBookingCompany">
|
|
<strong style="line-height: 1.6em">Reiseveranstalter</strong>
|
|
</h6>
|
|
<div class="collapse" id="collapseBookingCompany">
|
|
<div class="card-body row">
|
|
<div class="table-responsive" id="booking_files_table">
|
|
<table class="table table-striped table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th>Veranstalter</th>
|
|
<th>Bezeichnung</th>
|
|
<th>Abreisedatum</th>
|
|
<th>Reisepreis inkl. MwSt</th>
|
|
<th>Rabatt</th>
|
|
<th>Erzielte Provision</th>
|
|
<th> </th>
|
|
<th> </th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
@if($booking->booking_service_items)
|
|
@foreach($booking->booking_service_items as $item)
|
|
<tr>
|
|
<th scope="row">
|
|
{{$item->travel_company->name}}
|
|
<!--<a href="#" target="_blank" class="badge badge-md badge-primary">
|
|
</a>-->
|
|
</th>
|
|
<td>{{$item->name}}</td>
|
|
<td>{{\App\Services\Util::_format_date($item->travel_data, 'date')}}</td>
|
|
<td>{{$item->service_price}}</td>
|
|
<td>{{$item->commission}}</td>
|
|
<td>{{$item->service_price_refund}}</td>
|
|
<td>
|
|
<label class="custom-control custom-checkbox mt-2">
|
|
{!! Form::checkbox('booking_service_item['.$item->id.']', 1, $item->is_commission_locked, ['class'=>'custom-control-input', 'disabled']) !!}
|
|
<span class="custom-control-label"></span>
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<i class="fa fa-trash-alt"></i>
|
|
{{--<a class="btn text-danger" href="#" onclick="return confirm('{{__('Wirklich löschen?')}}');"><i class="fa fa-trash-alt"></i></a> --}}
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
@endif
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{--
|
|
<div class="text-right d-block w-100">
|
|
<button type="button" class="btn btn-sm btn-primary" data-toggle="modal"
|
|
data-target="#modals-load-content"
|
|
data-id="new-file"
|
|
data-model="bookingFile"
|
|
data-action="modal-upload-booking-file"
|
|
data-url=""
|
|
data-redirect="back"
|
|
data-booking_id="{{$booking->id}}"
|
|
data-route="#"><i class="ion ion-md-cloud-upload"></i> Datei hinzufügen</button>
|
|
</div>
|
|
--}}
|
|
</div>
|
|
</div>
|
|
</div> |