Implement Warehouse.... #47
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sry, only one commit. No time to make history ;D
WIP: Implement Warehouse....to Implement Warehouse....Implement Warehouse....to WIP: Implement Warehouse....inDeliverySince wird noch nicht gesetzt
WIP: Implement Warehouse....to Implement Warehouse....@ -0,0 +40,4 @@
HttpServletRequest request
) {
request.setAttribute("articles", articleRepository.findAll());
Dafür wird eigentlich
model.addAttribute()
verwendet.fixed in
eb82d05f4f
@ -0,0 +47,4 @@
}
@PostMapping("addManual")
public String warehouseAddMaualPost(
Statt
request.setAttribute()
wird eigentlichmodel.addAttribute()
verwendet.fixed in
eb82d05f4f
@ -0,0 +94,4 @@
}
Optional<WarehouseBookingPositionSlotEntry> sourceSlot = Optional.empty();
if (sourceIsSlot == true) {
Warum nicht
if (sourceIsSlot)
?sourceIsSlot könnte auch null sein
@ -0,0 +104,4 @@
}
Optional<WarehouseBookingPositionSlotEntry> destinationSlot = Optional.empty();
if (destinationIsSlot == true) {
Warum nicht
if (destinationIsSlot)
?destinationIsSlot könnte auch null sein
@ -0,0 +24,4 @@
private final SlotRepository slotRepository = null;
@GetMapping("slots/")
public String accountingWarehouseSlots(
Statt
request.setAttribute()
wird eigentlichmodel.addAttribute()
verwendet.fixed in
eb82d05f4f
@ -0,0 +22,4 @@
private final WarehouseBookingRepository warehouseBookingRepository = null;
@GetMapping("todo")
public String accountingWarehouseTodo(
Statt
request.setAttribute()
wird eigentlichmodel.addAttribute()
verwendet.fixed in
eb82d05f4f
@ -0,0 +81,4 @@
}
@GetMapping("progress/{id}")
public String getProgressId(HttpServletRequest request,
Statt
request.setAttribute()
wird eigentlichmodel.addAttribute()
verwendet.fixed in
eb82d05f4f
@ -23,3 +23,3 @@
<form class="detailgrid" th:action="@{/intern/warehouse/todo}">
<form class="detailgrid" method="post" th:action="@{/intern/warehouse/addManual}">
<div class="m">
<label for="amount">Artikelnummer</label>
Die id fehlt bei viele Inputs.
Wofür werden die IDs benötigt?
lgtm