Move billing policy to booking level with override modes and audit logs
All checks were successful
build-and-deploy / build-deploy (push) Successful in 36s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 36s
This commit is contained in:
@@ -44,8 +44,9 @@ class BookingBalances(
|
||||
val expected = computeExpectedPay(
|
||||
roomStayRepo.findByBookingId(bookingId),
|
||||
booking.property.timezone,
|
||||
booking.property.billingCheckinTime,
|
||||
booking.property.billingCheckoutTime
|
||||
booking.billingMode,
|
||||
booking.billingCheckinTime,
|
||||
booking.billingCheckoutTime
|
||||
)
|
||||
val charges = chargeRepo.sumAmountByBookingId(bookingId)
|
||||
val collected = paymentRepo.sumAmountByBookingId(bookingId)
|
||||
|
||||
Reference in New Issue
Block a user