FeWo Mail, Booking Services

This commit is contained in:
Kevin Adametz 2020-07-09 12:36:15 +02:00
parent 730832c8e1
commit e6cc042aee
62 changed files with 1766 additions and 284 deletions

View file

@ -99,29 +99,6 @@
{{ Form::text('notice', $booking->notice, array('placeholder'=>__('Bemerkung'), 'class'=>'form-control', 'id'=>'notice')) }}
</div>
<div class="col-12">
<h5 class="card-title mt-3 mb-1">Leistungen</h5>
<hr class="mt-0">
</div>
@foreach($booking->travel_country->getContactLandsModels() as $TravelCountry)
@if($TravelCountry->stern_travel_country)
@foreach($TravelCountry->stern_travel_country->travel_country_services as $travel_country_service)
<div class="col-sm-6 col-md-4">
<label class="switcher switcher-on-off">
{{ Form::hidden('country_service['.$travel_country_service->id.']', 0) }}
{{ Form::checkbox('country_service['.$travel_country_service->id.']', 1, \App\Models\BookingCountryService::getStatus($travel_country_service->id, $booking->id), array('class'=>'switcher-input')) }}
<span class="switcher-indicator">
<span class="switcher-yes"><span class="ion ion-md-checkmark"></span></span>
<span class="switcher-no"><span class="ion ion-md-close"></span></span>
</span>
<span class="switcher-label">{{ $travel_country_service->name }}</span>
</label>
</div>
@endforeach
@endif
@endforeach
<div class="col-12">
<hr>
<div class="text-left mt-3">