diff --git a/src/app/dashboard/workforce/on-site/correction-dialog.tsx b/src/app/dashboard/workforce/on-site/correction-dialog.tsx index bc97062..51e3530 100644 --- a/src/app/dashboard/workforce/on-site/correction-dialog.tsx +++ b/src/app/dashboard/workforce/on-site/correction-dialog.tsx @@ -66,7 +66,8 @@ function CorrectionForm({ shift, onClose }: { function swapToClockOut() { setOutDate(scanDate); setOutTime(scanTime); - setInDate(""); + // Keep the scan's day so only the arrival time needs typing. + setInDate(scanDate); setInTime(""); } @@ -187,7 +188,7 @@ function CorrectionForm({ shift, onClose }: { className="font-medium text-amber-700 underline dark:text-amber-400"> This scan was actually the clock-out {" "} - — clears the arrival so you can type the real one. + — clears the arrival time so you can type the real one (the date stays).