update payment method report and from,to time change

This commit is contained in:
Aung Myo
2017-11-01 16:14:45 +06:30
parent 01c4eeca81
commit ebb2114243
12 changed files with 233 additions and 170 deletions

View File

@@ -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();
});