Fewo Mail MA, optimation Fewo, view User Fewos

This commit is contained in:
Kevin Adametz 2019-05-08 14:05:35 +02:00
parent e537e47a82
commit 346a7427a5
30 changed files with 915 additions and 963 deletions

View file

@ -32,6 +32,48 @@
@include('travel.user.form')
<div class="card mb-2">
<div class="card-body">
<h4>FeWo Buchungen</h4>
@if($travel_user->travel_user_booking_fewos)
<div class="card-datatable table-responsive py-2">
<table class="table table-striped border-bottom">
<thead>
<tr>
<th style="max-width: 10px;">&nbsp;</th>
<th>{{__('ID')}}</th>
<th>{{__('FeWo')}}</th>
<th>{{__('vom')}}</th>
<th>{{__('bis')}}</th>
<th>{{__('Eingetragen')}}</th>
<th>{{__('Status')}}</th>
<th>{{__('Datum')}}</th>
<th>{{__('R.-Nr.')}}</th>
</tr>
</thead>
<tbody>
@foreach($travel_user->travel_user_booking_fewos as $travel_user_booking_fewo)
<tr>
<td style="width:1%">
<a href="{{route('travel_user_booking_fewo_detail', [$travel_user_booking_fewo->id])}}" class="btn icon-btn btn-sm btn-primary"><span class="far fa-edit"></span></a>
</td>
<td>{{ $travel_user_booking_fewo->id }}</td>
<td>{{ $travel_user_booking_fewo->fewo_lodging->name }}</td>
<td>{{ $travel_user_booking_fewo->from_date }}</td>
<td>{{ $travel_user_booking_fewo->to_date }}</td>
<td>{!! $travel_user_booking_fewo->getCheckedBadgeCalendar() !!}</td>
<td>{{ $travel_user_booking_fewo->getStatuesName() }}</td>
<td>{{ $travel_user_booking_fewo->booking_date }}</td>
<td>{{ $travel_user_booking_fewo->invoice_number }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endif
</div>
</div>
<div class="text-left mt-3">
<button type="submit" name="action" value="saveAll" class="btn btn-submit">{{ __('save changes') }}</button>&nbsp;
<a href="{{route('travel_users')}}" class="btn btn-default">{{ __('back') }}</a>