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
|
|
@ -10,16 +10,24 @@
|
|||
{!! Form::hidden('order', '[[8, "asc"]]', ['id'=>'order_table']) !!}
|
||||
<div class="ui-bordered px-4 pt-3 mb-0">
|
||||
<div class="form-row align-items-center">
|
||||
<div class="col-12 col-md-4 mb-4">
|
||||
|
||||
<div class="col-12 col-md-4 mb-2">
|
||||
<label class="form-label" for="filter_lead_status_id">Filter Status</label>
|
||||
<select class="selectpicker" data-style="btn-default" name="filter_lead_status_id[]" id="filter_lead_status_id" multiple>
|
||||
@foreach($filter_lead_status as $id=>$name)
|
||||
<option value="{{$id}}">{{$name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-12 col-md-3 mb-2">
|
||||
<label class="form-label" for="filter_service_provider_id">Leistungsträger</label>
|
||||
<select class="custom-select" name="filter_service_provider_id" id="filter_service_provider_id">
|
||||
<option value="">Filter aus</option>
|
||||
@foreach($serviceProviders as $serviceProvider)
|
||||
<option value="{{$serviceProvider->id}}">{{$serviceProvider->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-12 col-md-4 mb-4">
|
||||
<div class="col-12 col-md-3 mb-2">
|
||||
<label class="form-label">Reisedatum</label>
|
||||
<div class="row">
|
||||
<div class="input-group col-6 pr-0">
|
||||
|
|
@ -37,7 +45,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-md-3 mb-4">
|
||||
<div class="col-6 col-md-2 mb-2">
|
||||
<label class="form-label" for="filter_is_cleared">Bezahlt</label>
|
||||
<select class="custom-select" name="filter_is_cleared" id="filter_is_cleared">
|
||||
<option value="">Filter aus</option>
|
||||
|
|
@ -45,8 +53,8 @@
|
|||
<option value="0">Nein</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-6 col-md-1 mb-4 mt-4">
|
||||
<a href="{{ route('admin_report_providers') }}" class="btn icon-btn btn-sm btn-outline-dark float-right">
|
||||
<div class="col-12 mb-4">
|
||||
<a href="{{ route('admin_report_providers') }}" class="btn icon-btn btn-sm btn-outline-dark">
|
||||
<span class="fa fa-sync"></span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -59,12 +67,14 @@
|
|||
<tr>
|
||||
<th>SPE ID</th>
|
||||
<th>BuchungsID</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('Reiseveranstalter')}}</th>
|
||||
<th>{{__('MyJack Nr.')}}</th>
|
||||
<th>{{__('Organisation')}}</th>
|
||||
<th>{{__('Reisepreis')}}</th>
|
||||
<th>{{__('Erlös')}}</th>
|
||||
<th>{{__('Kunde')}}</th>
|
||||
<th>{{__('Vorname')}}</th>
|
||||
<th>{{__('Nachname')}}</th>
|
||||
<th>{{__('Reisedatum')}}</th>
|
||||
<th>{{__('bis')}}</th>
|
||||
<th>{{__('bezahlt')}}</th>
|
||||
|
|
@ -103,22 +113,26 @@
|
|||
d.filter_travel_date_from = $('input[name=filter_travel_date_from]').val();
|
||||
d.filter_travel_date_to = $('input[name=filter_travel_date_to]').val();
|
||||
d.filter_is_cleared = $('select[name=filter_is_cleared]').val();
|
||||
d.filter_db_lead_status_id = $('#filter_lead_status_id').val();
|
||||
}
|
||||
},
|
||||
"columns": [
|
||||
{ data: 'id', name: 'id' },
|
||||
{ data: 'booking.id', name: 'booking.id' },
|
||||
{ data: 'booking.lead.status_id', name: 'booking.lead.status_id', orderable: false, searchable: false },
|
||||
{ data: 'service_provider.name', name: 'service_provider.name', orderable: false },
|
||||
{ data: 'booking.merlin_order_number', name: 'booking.merlin_order_number' },
|
||||
{ data: 'booking.price', name: 'booking.price' },
|
||||
{ data: 'booking.price_total', name: 'booking.price_total' },
|
||||
{ data: 'booking.proceeds', name: 'booking.proceeds', orderable: false },
|
||||
{ data: 'booking.customer.fullName', name: 'booking.customer.fullName' },
|
||||
{ data: 'booking.customer.firstname', name: 'booking.customer.firstname' },
|
||||
{ data: 'booking.customer.name', name: 'booking.customer.name' },
|
||||
|
||||
{ data: 'booking.start_date', name: 'booking.start_date' },
|
||||
{ data: 'booking.end_date', name: 'booking.end_date' },
|
||||
{ data: 'is_cleared', name: 'is_cleared' },
|
||||
],
|
||||
"order": [[ 8, "asc" ]],
|
||||
"order": [[ 10, "asc" ]],
|
||||
"orderSequence": ["desc", "asc"],
|
||||
"bLengthChange": false,
|
||||
"iDisplayLength": 100,
|
||||
|
|
@ -133,12 +147,11 @@
|
|||
}
|
||||
});
|
||||
|
||||
$('#filter_service_provider_id, #filter_is_cleared, #filter_sort_by').on('change', function(){
|
||||
table.order( [ 8, 'asc' ] ).draw();
|
||||
$('#filter_service_provider_id, #filter_is_cleared, #filter_sort_by, #filter_lead_status_id').on('change', function(){
|
||||
table.order( [ 10, 'asc' ] ).draw();
|
||||
});
|
||||
|
||||
$('.datepicker-base').on('change', function(){
|
||||
table.order( [ 8, 'asc' ] ).draw();
|
||||
table.order( [ 10, 'asc' ] ).draw();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue