57 lines
No EOL
1.8 KiB
PHP
57 lines
No EOL
1.8 KiB
PHP
@extends('layouts.layout-2')
|
|
|
|
@section('content')
|
|
|
|
<h4 class="font-weight-bold py-3 mb-4">
|
|
Reisebausteine / Programme
|
|
</h4>
|
|
|
|
<div class="card">
|
|
<div class="card-datatable table-responsive">
|
|
<table class="datatables-customer table table-striped table-bordered">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th style="max-width: 60px;"> </th>
|
|
<th>{{__('Name')}}</th>
|
|
<th>{{__('Typ')}}</th>
|
|
<th>{{__('Land')}}</th>
|
|
<th>{{__('sichbar')}}</th>
|
|
<th style="max-width: 60px;"> </th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="ml-3 mb-2">
|
|
<a href="{{ route('iq_travel_programm_detail', ['new']) }}" class="btn btn-sm btn-primary">Neues Programm anlegen</a>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
$( document ).ready(function() {
|
|
$('.datatables-customer').dataTable({
|
|
"processing": true,
|
|
"serverSide": true,
|
|
"ajax": '{!! route('data_table_travel_programms') !!}',
|
|
"order": [[ 1, "desc" ]],
|
|
"columns": [
|
|
{ data: 'action_edit', orderable: false, searchable: false},
|
|
{ data: 'name', name: 'name' },
|
|
{ data: 'typ', name: 'typ' },
|
|
{ data: 'country', name: 'country' },
|
|
{ data: 'active', name: 'active' },
|
|
{ data: 'action_delete', orderable: false, searchable: false},
|
|
],
|
|
"bLengthChange": false,
|
|
"iDisplayLength": 100,
|
|
"language": {
|
|
"url": "/js/German.json"
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
@endsection |