mein-sterntours/resources/views/booking/_detail_delete.blade.php
Kevin Adametz 881fc84207 08 2024
2024-08-05 11:58:09 +02:00

36 lines
No EOL
1.9 KiB
PHP

<div class="card mb-2">
<h6 class="card-header bg-primary text-white py-2" data-toggle="collapse" data-target="#collapseBookingDelete" aria-expanded="false" aria-controls="collapseBookingDelete">
<strong style="line-height: 1.6em">Löschen</strong>
</h6>
<div class="collapse" id="collapseBookingDelete">
<div class="card-body row">
<div class="col-sm-12">
{!! Form::open(['url' => route('booking_delete_complete', [$id]), 'class' => 'form-horizontal']) !!}
<h4>Buchung löschen</h4>
<h5>Die Buchung wird komplett gelöscht, dieser Vorgang kann nicht rückgängig gemacht werden.</h5>
<h6>Alle Daten, Dokumente, Notizen, E-Mails und Anhänge, die zu dieser Buchung gehören, werden zusammen gelöscht.</h6>
<div class="form-group">
<label class="switcher switcher-on-off">
{{ Form::hidden('booking_delete_complete_check', 0) }}
{{ Form::checkbox('booking_delete_complete_check', 1, 0, array('class'=>'switcher-input', 'required')) }}
<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">Ja, die Buchnung soll wirklich gelöschen werden</span>
</label>
</div>
<div class="form-group text-left">
<button type="submit" class="btn btn-sm btn-danger" value="booking_delete_complete" ><i class="ion ion-md-trash"></i> &nbsp; Buchung löschen</button>
<hr>
</div>
{!! Form::close() !!}
</div>
</div>
</div>
</div>