fixed correction of registrations

This commit is contained in:
Jottyfan
2024-04-01 15:33:03 +02:00
parent a373f5e758
commit 7ab500e510
4 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ public class CamplistController extends CommonController {
}
@PostMapping("/dashboard/update")
public String updateBooking(Model model, @ModelAttribute("bean") BookingBean bean) {
public String updateBooking(Model model, @ModelAttribute("b") BookingBean bean) {
service.update(bean);
return dashboard(model);
}

View File

@ -57,7 +57,7 @@ public class DashboardRepository {
.set(T_PERSON.COMMENT, bean.getComment())
.where(T_PERSON.PK.eq(bean.getPk()));
// @formatter:on
LOGGER.debug(sql.toString());
LOGGER.trace(sql.toString());
return sql.execute();
}

View File

@ -77,7 +77,7 @@
<div class="card">
<div class="card-header">Teilnehmerdaten</div>
<div class="card-body">
<form th:action="@{/dashboard/update/}" th:object="${b}" method="post">
<form th:action="@{/dashboard/update}" th:object="${b}" method="post">
<input type="hidden" th:value="*{pk}" name="pk" />
<div class="container">
<div class="row mb-2">