parent
780088eb0c
commit
d4318cc48c
|
@ -52,7 +52,7 @@ data class Order(
|
||||||
override fun prePersist() {
|
override fun prePersist() {
|
||||||
super.prePersist()
|
super.prePersist()
|
||||||
if (type == OrderType.RENTAL) {
|
if (type == OrderType.RENTAL) {
|
||||||
endDate = startDate.plusDays(15)
|
endDate = startDate.plusDays(5)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue