Report Strono-Date, Booking+Fewo Notice, Custom Mail opti

This commit is contained in:
Kevin Adametz 2021-04-23 14:55:48 +02:00
parent 644ec93c53
commit 5d55e5be3f
35 changed files with 581 additions and 41 deletions

View file

@ -64,6 +64,7 @@
<tr>
<th>BuchungsID</th>
<th>{{__('Status')}}</th>
<th>{{__('Storno')}}</th>
<th>{{__('MyJack Nr.')}}</th>
<th>{{__('Organisation')}}</th>
<th>{{__('Reisepreis')}}</th>
@ -111,6 +112,7 @@
"columns": [
{ data: 'id', name: 'id' },
{ data: 'lead.status_id', name: 'lead.status_id', orderable: false, searchable: false },
{ data: 'booking_strono_date', name: 'booking_strono_date', orderable: false, searchable: false },
{ data: 'merlin_order_number', name: 'merlin_order_number' },
{ data: 'price', name: 'price' },
{ data: 'price_total', name: 'price_total' },
@ -121,7 +123,7 @@
{ data: 'booking_date', name: 'booking_date' },
{ data: 'service_provider.names', name: 'service_provider.names', orderable: false },
],
"order": [[ 7, "asc" ]],
"order": [[ 10, "desc" ]],
"orderSequence": ["desc", "asc"],
"bLengthChange": false,
"iDisplayLength": 100,
@ -136,10 +138,10 @@
}
});
$('#filter_service_provider_id, #filter_is_cleared, #filter_sort_by').on('change', function(){
table.order( [ 7, 'asc' ] ).draw();
table.order( [ 10, 'desc' ] ).draw();
});
$('.datepicker-base').on('change', function(){
table.order( [ 7, 'asc' ] ).draw();
table.order( [ 10, 'desc' ] ).draw();
});
});
</script>