update payment method report and from,to time change
This commit is contained in:
@@ -143,11 +143,13 @@
|
||||
show_shift_name(period,period_type,from,to,'shift_item');
|
||||
}
|
||||
|
||||
$('#from').change(function(){
|
||||
search_by_date();
|
||||
// OK button is clicked
|
||||
$('#from').bootstrapMaterialDatePicker().on('beforeChange', function(e, date){
|
||||
$('#from').val(date.format("DD-MM-YYYY"))
|
||||
search_by_date();
|
||||
});
|
||||
|
||||
$('#to').change(function(){
|
||||
$('#to').bootstrapMaterialDatePicker().on('beforeChange', function(e, date){
|
||||
$('#to').val(date.format("DD-MM-YYYY"))
|
||||
search_by_date();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user