fix(attendance): preserve frozen attendance boundaries

This commit is contained in:
sechmachine
2026-08-15 02:25:13 +07:00
parent 8b48e281f7
commit 4c39df70e1
46 changed files with 1270 additions and 58 deletions
@@ -41,12 +41,12 @@
</thead>
<tbody>
<tr th:each="item : ${items}">
<td th:text="${item.workDate}"></td>
<td th:text="${item.checkInAt}"></td>
<td th:text="${item.checkOutAt == null ? 'Missing' : item.checkOutAt}"></td>
<td th:text="|${item.policy.scheduledStart}${item.policy.scheduledEnd} (${item.policy.zoneId})|"></td>
<td th:text="${item.workDateDisplay}"></td>
<td th:text="${item.checkInTimeDisplay}"></td>
<td th:text="${item.checkOutTimeDisplay}"></td>
<td th:text="|${item.scheduledStartDisplay}${item.scheduledEndDisplay} (${item.policy.zoneId})|"></td>
<td th:text="|${item.policy.checkInGraceMinutes} min / ${item.policy.checkoutGraceMinutes} min|"></td>
<td th:text="${item.violations.missingCheckout ? 'Missing checkout' : (item.violations.earlyDeparture ? 'Early departure' : (item.violations.late ? 'Late' : 'On time'))}"></td>
<td th:text="${item.resultDisplay}"></td>
</tr>
</tbody>
</table>