FeWo Mail, Booking Services
This commit is contained in:
parent
730832c8e1
commit
e6cc042aee
62 changed files with 1766 additions and 284 deletions
70
resources/views/booking/_detail_company.blade.php
Executable file
70
resources/views/booking/_detail_company.blade.php
Executable file
|
|
@ -0,0 +1,70 @@
|
|||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue