Google2Fa ready to upload
This commit is contained in:
parent
e3495be8b8
commit
73e38a006e
127 changed files with 2637 additions and 589 deletions
|
|
@ -440,6 +440,10 @@
|
|||
function clearTravelOptionAgenda(){
|
||||
$('#travel_option_agenda_id').empty().prop('disabled', true);
|
||||
}
|
||||
|
||||
function orderDrawTable($order = 1){
|
||||
table.order( [$order, 'desc' ] ).draw();
|
||||
}
|
||||
$('#travel_option_search').on('change', function(){
|
||||
if($(this).val() !== ""){
|
||||
$('.datepicker-base').removeClass('active');
|
||||
|
|
@ -452,38 +456,38 @@
|
|||
$(this).removeClass('active');
|
||||
}
|
||||
clearTravelOptionAgenda();
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#travel_option_country_id').on('change', function(){
|
||||
clearTravelOptionAgenda();
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#travel_option_agenda_id').on('change', function(){
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#travel_option_company_id').on('change', function(){
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#travel_option_lead_status_id').on('change', function(){
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#travel_option_airline_id').on('change', function(){
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#sort_sf_guard_user_id').on('change', function(){
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#travel_option_paying_out').on('change', function(){
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#travel_option_paying_out_status').on('change', function(){
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#travel_option_refund').on('change', function(){
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
$('#travel_option_xx_tkt').on('change', function(){
|
||||
table.draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
|
||||
$('.datepicker-base').on('change', function(){
|
||||
|
|
@ -498,11 +502,10 @@
|
|||
$('#travel_option_search').removeClass('deactive');
|
||||
}
|
||||
clearTravelOptionAgenda();
|
||||
table.order( [ 5, 'desc' ] ).draw();
|
||||
});
|
||||
$('.full_search').on('keyup', function(){
|
||||
clearTravelOptionAgenda();
|
||||
table.order( [ 5, 'desc' ] ).draw();
|
||||
orderDrawTable();
|
||||
});
|
||||
|
||||
function loadModalInner(self, data){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue