72 lines
No EOL
2.6 KiB
PHP
Executable file
72 lines
No EOL
2.6 KiB
PHP
Executable file
@extends('layouts.layout-2')
|
|
|
|
@section('content')
|
|
|
|
<h4 class="font-weight-bold py-3 mb-4">
|
|
{{ __('Kunden Mails') }}
|
|
</h4>
|
|
|
|
<div class="card">
|
|
<div class="table-responsive-track" id="datatables-customer-scroll">
|
|
<div class="table-responsive-thumb" id="datatables-customer-thumb">
|
|
</div>
|
|
</div>
|
|
<div class="card-datatable table-responsive" id="datatables-customer-table">
|
|
<table class="datatables-customer table table-striped table-bordered" id="datatables-customer">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th style="max-width: 60px;"> </th>
|
|
<th>{{__('Mail-ID')}}</th>
|
|
<th>{{__('Kunden-ID')}}</th>
|
|
<th>{{__('Vorname')}}</th>
|
|
<th>{{__('Nachname')}}</th>
|
|
<th>{{__('E-Mail')}}</th>
|
|
<th>{{__('Betreff')}}</th>
|
|
<th>{{__('Buchung-ID')}}</th>
|
|
<th>{{__('Buchung')}}</th>
|
|
<th>{{__('gesendet')}}</th>
|
|
<th>{{__('Datum')}}</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
$( document ).ready(function() {
|
|
$('.datatables-customer').dataTable({
|
|
"processing": true,
|
|
"serverSide": true,
|
|
"ajax": '{!! route('data_table_customer_mails') !!}',
|
|
"order": [[ 1, "desc" ]],
|
|
"columns": [
|
|
{ data: 'action_edit', orderable: false, searchable: false},
|
|
{ data: 'id', name: 'id' },
|
|
{ data: 'customer_id', name: 'customer_id' },
|
|
{ data: 'customer.firstname', name: 'customer.firstname' },
|
|
{ data: 'customer.name', name: 'customer.name' },
|
|
{ data: 'email', name: 'email' },
|
|
{ data: 'subject', name: 'subject' },
|
|
{ data: 'booking_id', name: 'booking_id' },
|
|
{ data: 'booking', name: 'booking', searchable: false },
|
|
{ data: 'send', name: 'send', searchable: false },
|
|
{ data: 'date', name: 'date' },
|
|
|
|
],
|
|
"bLengthChange": false,
|
|
"iDisplayLength": 100,
|
|
"language": {
|
|
"url": "/js/German.json"
|
|
},
|
|
drawCallback: function () {
|
|
dataTableScrollTrack('#datatables-customer');
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
@endsection |