Mehrere Tickets 49, 50, 51, 52, 53
This commit is contained in:
parent
ae70577289
commit
e3495be8b8
61 changed files with 1904 additions and 344 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
@section('content')
|
||||
<h4 class="font-weight-bold py-3 mb-1">
|
||||
{{ __('Anfragen') }}
|
||||
{{ __('Buchungen') }}
|
||||
</h4>
|
||||
|
||||
<div class="card">
|
||||
|
|
@ -140,15 +140,12 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-row align-items-center">
|
||||
<div class="col-5 col-sm-2 mb-2">
|
||||
<label class="form-label">AnfrageID</label>
|
||||
<input class="form-control full_search" name="full_lead_id_search" placeholder="suche" type="text" value="">
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 mb-2">
|
||||
|
||||
<div class="col-6 col-md-3 mb-2">
|
||||
<label class="form-label">Vorname</label>
|
||||
<input class="form-control full_search" name="full_firstname_search" placeholder="suche" type="text" value="">
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 mb-2">
|
||||
<div class="col-6 col-md-3 mb-2">
|
||||
<label class="form-label">Nachname</label>
|
||||
<input class="form-control full_search" name="full_lastname_search" placeholder="suche" type="text" value="">
|
||||
</div>
|
||||
|
|
@ -157,6 +154,15 @@
|
|||
<label class="form-label">BuchungsID</label>
|
||||
<input class="form-control full_search" name="full_booking_id_search" placeholder="suche" type="text" value="">
|
||||
</div>
|
||||
<div class="col-5 col-sm-2 mb-2">
|
||||
<label class="form-label" for="sort_sf_guard_user_id">Filter Sachbearbeiter</label>
|
||||
<select class="custom-select" name="sort_sf_guard_user_id" id="sort_sf_guard_user_id">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($filter_sf_guard_user as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-2 col-sm-2 mb-2 mt-4">
|
||||
<a href="{{ route('requests') }}" class="btn icon-btn btn-sm btn-outline-dark float-right">
|
||||
<span class="fa fa-sync"></span>
|
||||
|
|
@ -169,18 +175,15 @@
|
|||
<input type="hidden" name="sort_travel_country_id" value="">
|
||||
<input type="hidden" name="sort_travelagenda_id" value="">
|
||||
<input type="hidden" name="sort_travel_documents" value="">
|
||||
<input type="hidden" name="sort_sf_guard_user_id" value="">
|
||||
<input type="hidden" name="sort_lead_status_id" value="">
|
||||
|
||||
<table id="datatables-requests" class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="max-width: 10px;"> </th>
|
||||
<th>{{__('AnfrageID')}}</th>
|
||||
<th>{{__('BuchungsID')}}</th>
|
||||
<th>{{__('Vorname')}}</th>
|
||||
<th>{{__('Nachname')}}</th>
|
||||
<th style="max-width: 10px;"> </th>
|
||||
<th>{{__('BuchungsID')}}</th>
|
||||
<th>{{__('Reiseland')}}</th>
|
||||
<th>{{__('Programm')}}</th>
|
||||
<th>{{__('Komfort')}}</th>
|
||||
|
|
@ -190,8 +193,9 @@
|
|||
<th>{{__('Abreise')}}</th>
|
||||
<th>{{__('U.')}}</th>
|
||||
<th>{{__('L.')}}</th>
|
||||
<th>{{__('P.')}}</th>
|
||||
<th>{{__('N.')}}</th>
|
||||
<th>{{__('Sachbearbeiter')}}</th>
|
||||
<th>{{__('Sb.')}}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('E-Mail')}}</th>
|
||||
<th>{{__('K-Wunsch')}}</th>
|
||||
|
|
@ -238,7 +242,7 @@
|
|||
d.sort_travel_country_id = $('input[name=sort_travel_country_id]').val();
|
||||
d.sort_travelagenda_id = $('input[name=sort_travelagenda_id]').val();
|
||||
d.sort_travel_documents = $('input[name=sort_travel_documents]').val();
|
||||
d.sort_sf_guard_user_id = $('input[name=sort_sf_guard_user_id]').val();
|
||||
d.sort_sf_guard_user_id = $('select[name=sort_sf_guard_user_id]').val();
|
||||
d.sort_lead_status_id = $('input[name=sort_lead_status_id]').val();
|
||||
d.full_firstname_search = $('input[name=full_firstname_search]').val();
|
||||
d.full_lastname_search = $('input[name=full_lastname_search]').val();
|
||||
|
|
@ -257,12 +261,10 @@
|
|||
}
|
||||
},
|
||||
"columns": [
|
||||
{ data: 'action_lead_edit', orderable: false, searchable: false},
|
||||
{ data: 'lead_id', name: 'lead_id' },
|
||||
{ data: 'customer.firstname', name: 'customer.firstname' },
|
||||
{ data: 'customer.name', name: 'customer.name' },
|
||||
{ data: 'action_booking_edit', orderable: false, searchable: false},
|
||||
{ data: 'id', name: 'id' },
|
||||
{ data: 'customer.firstname', name: 'customer.firstname' },
|
||||
{ data: 'customer.name', name: 'customer.name' },
|
||||
{ data: 'travel_country_id', name: 'travel_country_id', orderable: false },
|
||||
{ data: 'travelagenda_id', name: 'travelagenda_id', orderable: false },
|
||||
{ data: 'comfort', name: 'comfort', orderable: true },
|
||||
|
|
@ -271,13 +273,14 @@
|
|||
{ data: 'end_date', name: 'end_date' },
|
||||
{ data: 'travel_documents', name: 'travel_documents', orderable: false },
|
||||
{ data: 'booking_services', name: 'booking_services', orderable: false },
|
||||
{ data: 'booking_participants_pass', name: 'booking_participants_pass', orderable: false },
|
||||
{ data: 'booking_notice', name: 'booking_notice', orderable: false },
|
||||
{ data: 'sf_guard_user_id', name: 'sf_guard_user_id', orderable: false },
|
||||
{ data: 'lead.status_id', name: 'lead.status_id', orderable: false },
|
||||
{ data: 'last_customer_email', name: 'last_customer_email', orderable: true },
|
||||
{ data: 'paying_out', name: 'paying_out' },
|
||||
{ data: 'paying_out_status', name: 'paying_out_status' },
|
||||
{ data: 'airline_id', name: 'airline_id' },
|
||||
{ data: 'airline_ids', name: 'airline_ids', orderable: false },
|
||||
{ data: 'refund', name: 'refund' },
|
||||
{ data: 'hold', name: 'hold' },
|
||||
{ data: 'xx_tkt', name: 'xx_tkt' },
|
||||
|
|
@ -285,7 +288,7 @@
|
|||
"bLengthChange": false,
|
||||
"iDisplayLength": 50,
|
||||
"orderSequence": ["desc", "asc"],
|
||||
"order": [[ 5, "desc" ]],
|
||||
"order": [[ 1, "desc" ]],
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
},
|
||||
|
|
@ -308,7 +311,7 @@
|
|||
}
|
||||
} );
|
||||
} );*/
|
||||
this.api().columns(15).every( function () {
|
||||
/*this.api().columns(14).every( function () {
|
||||
var column = this;
|
||||
var title = $(column.header()).html();
|
||||
var select = $('<select class="selectpicker"><option value="">'+title+'</option></select>')
|
||||
|
|
@ -325,7 +328,7 @@
|
|||
}
|
||||
}
|
||||
} );
|
||||
} );
|
||||
} );*/
|
||||
/* this.api().columns(12).every( function () {
|
||||
var column = this;
|
||||
var title = $(column.header()).html();
|
||||
|
|
@ -467,7 +470,9 @@
|
|||
$('#travel_option_airline_id').on('change', function(){
|
||||
table.draw();
|
||||
});
|
||||
|
||||
$('#sort_sf_guard_user_id').on('change', function(){
|
||||
table.draw();
|
||||
});
|
||||
$('#travel_option_paying_out').on('change', function(){
|
||||
table.draw();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue