Fix 6284a4d7bf altering template

This commit is contained in:
CodeSteak 2020-06-20 22:09:25 +02:00
parent 4bef17dc0a
commit fa75beb9c4
2 changed files with 23 additions and 13 deletions

View File

@ -15,12 +15,27 @@ public class DashboardSummary {
@NotNull
public java.sql.Date created;
public int todaysNewCustomers;
public int todaysCustomersOrders;
public int todaysSuppliersOrders;
public int todaysItemsSold;
public int todaysSalesCent;
public int totalWarehouseCapacity;
public double currentWarehouseCapacity;
public double todaysWarehouseCapacity;
@NotNull
public Integer todaysNewCustomers;
@NotNull
public Integer todaysCustomersOrders;
@NotNull
public Integer todaysSuppliersOrders;
@NotNull
public Integer todaysItemsSold;
@NotNull
public Integer todaysSalesCent;
@NotNull
public Integer totalWarehouseCapacity;
@NotNull
public Double currentWarehouseCapacity;
@NotNull
public Double todaysWarehouseCapacity;
}

View File

@ -22,8 +22,3 @@ spring.servlet.multipart.max-request-size=10MB
# EMBEDDED SERVER CONFIGURATION (ServerProperties)
server.address=::1
server.port=8080
spring.thymeleaf.prefix=file:src/main/resources/templates/
spring.thymeleaf.cache=false
spring.resources.static-locations=file:src/main/resources/static/
spring.resources.cache=false