68 lines
No EOL
3.4 KiB
PHP
Executable file
68 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="#collapseBookingProvider" aria-expanded="false" aria-controls="collapseBookingProvider">
|
|
<strong style="line-height: 1.6em">Leistungsträger</strong>
|
|
</h6>
|
|
<div class="collapse" id="collapseBookingProvider">
|
|
|
|
<div class="card-body row">
|
|
<div class="table-responsive" id="booking_files_table">
|
|
<table class="table table-striped table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th>Leistungsträger</th>
|
|
<th>Betrag</th>
|
|
<th>Faktor</th>
|
|
<th>Betrag €</th>
|
|
<th>Zahlungsdatum</th>
|
|
<th>Re.Nr.</th>
|
|
<th>bezahlt</th>
|
|
<th> </th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
@if($booking->service_provider_entries)
|
|
@foreach($booking->service_provider_entries as $item)
|
|
<tr>
|
|
<th scope="row">
|
|
{{$item->service_provider->name}}
|
|
<!--<a href="#" target="_blank" class="badge badge-md badge-primary">
|
|
</a>-->
|
|
</th>
|
|
<td>{{$item->amount}}</td>
|
|
<td>{{$item->factor}}</td>
|
|
<td>{{$item->amount_eur}}</td>
|
|
<td>{{\App\Services\Util::_format_date($item->payment_date, 'date')}}</td>
|
|
<td>{{$item->invoice_number}}</td>
|
|
<td>
|
|
<label class="custom-control custom-checkbox mt-2">
|
|
{!! Form::checkbox('service_provider_entry['.$item->id.']', 1, $item->is_cleared, ['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> |