This commit is contained in:
2025-09-29 16:56:21 -04:00
parent 0a9f014392
commit 97252c4c2b
12 changed files with 11 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ class AccountReservationList extends ArrayList<IReservation> {
String serial = String.format("%010d", Math.abs(java.util.Objects.hash(reservation.getPhysical_address())));
int e = serial.length();
int s = e - 10;
serial = serial.substring(s, e-1);
serial = serial.substring(s, e);
return String.format("R%s", serial);
}

View File

@@ -1,3 +1,7 @@
/**
* license: GPLv3
reservationsystem
*/
package lodge.datamodel;
public interface IReservation {