refactor LeaveController to correct end time parsing for seminar handling #2199
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m11s
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m11s
This commit is contained in:
parent
9e529ed19b
commit
5ec7933b3c
1 changed files with 1 additions and 1 deletions
|
|
@ -2436,7 +2436,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
|||
|
||||
//var endTime = DateTime.Parse($"{DateTime.Now.Date.ToString("yyyy-MM-dd")}T{duty.EndTimeAfternoon}:00.0000000+07:00");
|
||||
var endTime = isSeminar.Trim().ToUpper() == "Y"
|
||||
? DateTime.Parse($"{DateTime.Now.Date.ToString("yyyy-MM-dd")} {14:30}")
|
||||
? DateTime.Parse($"{DateTime.Now.Date.ToString("yyyy-MM-dd")} 14:30")
|
||||
: DateTime.Parse($"{DateTime.Now.Date.ToString("yyyy-MM-dd")} {duty.EndTimeAfternoon}");
|
||||
var status = string.Empty;
|
||||
if(lastCheckIn == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue