Skip to content

Commit

Permalink
JJDZR14KA-42 logik " "Delegation must start at least %s hours before …
Browse files Browse the repository at this point in the history
…the earliest transport and end at least %s hours after the latest transport",

"
  • Loading branch information
Marakra committed Aug 22, 2024
1 parent eb8e53f commit 800a5f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@Component
public class DateRangeValidatorDelegation implements ConstraintValidator <ValidDateRangeDelegation, Delegation> {

private AppConfig appConfig;
private final AppConfig appConfig;

public DateRangeValidatorDelegation(AppConfig appConfig) {
this.appConfig = appConfig;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ <h2 class="color-text">Add Delegation</h2>
<ul><li th:each="err : ${#fields.errors('nameDelegation')}" th:text="${err}" class="error"></li></ul>
</div>

<!--here will be name Employee that we will have in URL-->
<div class="form-group">
<label for="employee" class="color-text">Employee:</label>
<select id="employee" th:field="*{employee.employeeId}" class="form-control color-text">
Expand Down

0 comments on commit 800a5f3

Please sign in to comment.