hodooor / Hodoor

Server side for Hodoor - Casual attendance system
GNU General Public License v3.0
8 stars 6 forks source link

Bad displaying NAT hours after IN swipe correction #2

Closed patriczek2811 closed 7 years ago

patriczek2811 commented 7 years ago

After IN swipe correction, from higher time value to lower (e.g. first swipe time: 7:40, correction: 7:00), NAT time OR work time duration aren't recalculated. The NAT time is calculating from first swipe (7:40) not from corrected time (7:00). Duration time and Breaks are OK. After ending session (taping OUTGO button) NAT time is recalculated and everything is OK.

ToKraTheSecond commented 7 years ago

The NAT and TIME SPEND values after IN swipe correction are calculated correctly, but they are not updated over time.