85 lines
No EOL
2.8 KiB
PHP
Executable file
85 lines
No EOL
2.8 KiB
PHP
Executable file
@extends('layouts.layout-2')
|
|
|
|
@section('content')
|
|
|
|
<h4 class="font-weight-bold py-3 mb-1">
|
|
FeWo Inhalte
|
|
</h4>
|
|
|
|
@if ($errors->any())
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="alert alert-danger">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
<div class="card">
|
|
<div class="card-datatable table-responsive">
|
|
<table class="datatables-feedbacks table table-striped table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th style="max-width: 60px;"> </th>
|
|
<th>{{__('Name')}}</th>
|
|
<th>{{__('Adresse')}}</th>
|
|
<th>{{__('Personen')}}</th>
|
|
<th>{{__('Erwachsenen')}}</th>
|
|
<th>{{__('Kinder')}}</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($fewo_lodgings as $value)
|
|
<tr>
|
|
<td data-sort="{{ $value->id }}">
|
|
<a href="{{ route('cms_fewo_content_detail', [$value->id]) }}" class="btn icon-btn btn-sm btn-primary">
|
|
<span class="fa fa-edit"></span>
|
|
</a>
|
|
</td>
|
|
|
|
<td><a href="{{ route('cms_fewo_content_detail', [$value->id]) }}">{{ $value->name }}</a></td>
|
|
<td>
|
|
{{ $value->adress1 }}, {{ $value->zip_code }} {{ $value->city }}
|
|
</td>
|
|
<td>
|
|
{{ $value->maximum_persons }}
|
|
</td>
|
|
<td>
|
|
{{ $value->maximum_adults }}
|
|
</td>
|
|
<td>
|
|
{{ $value->maximum_childs }}
|
|
</td>
|
|
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{--
|
|
<div class="ml-3 mb-2">
|
|
<a href="{{ route('admin_settings_travel_country_detail', ['new']) }}" class="btn btn-sm btn-primary">Neues Reiseland anlegen</a>
|
|
</div>
|
|
--}}
|
|
<script>
|
|
$( document ).ready(function() {
|
|
$('.datatables-feedbacks').dataTable({
|
|
"bLengthChange": false,
|
|
"iDisplayLength": 50,
|
|
"language": {
|
|
"url": "/js/German.json"
|
|
},
|
|
});
|
|
|
|
|
|
});
|
|
|
|
</script>
|
|
</div>
|
|
@endsection |