update report excel

This commit is contained in:
Aung Myo
2017-12-07 14:05:39 +06:30
parent f80971506a
commit 1645f75fa3
3 changed files with 38 additions and 31 deletions

View File

@@ -165,7 +165,8 @@
var to = to_date.getDate() + "-" + to_date.getMonth() + "-" + to_date.getFullYear();
var from_date = new Date($('#from').val());
var from = from_date.getDate() + "-" + from_date.getMonth() + "-" + from_date.getFullYear();
$('#from').val(from)
$('#to').val(to)
var period = 0;
var period_type = 1;
@@ -174,7 +175,6 @@
check_arr.push(to);
console.log(check_arr.length)
if(check_arr.length == 1){
show_shift_name(period,period_type,from,to,'shift_item');
}