|
@@ -220,6 +220,10 @@ class AttendanceService extends CrudService {
|
|
|
const bd_end = nowdata.substr(0, 10) + ' ' + setting.bd_end + ':00';
|
|
|
const resstart = moment(nowdata).diff(moment(bd_start), 'minutes');
|
|
|
const resend = moment(nowdata).diff(moment(bd_end), 'minutes');
|
|
|
+ console.log(bd_start);
|
|
|
+ console.log(bd_end);
|
|
|
+ console.log(resstart);
|
|
|
+ console.log(resend);
|
|
|
if (resstart > 0) {
|
|
|
if (resend > 0) {
|
|
|
res = 2;
|