An invoice payment schedule was displaying duplicate payment items when a related booking exists and payment schedule item of price type exists. This has been fixed.
Expected behavior when an invoice has related bookings:
- Payment due dates are based on the parent booking's book date or departure date.
- If Amount Type = Price Category then the amount due is based on the sum of all invoice item amounts having that price category.
- If Amount Type = Per Booking then calculation is based on the # of active bookings (parent & related) associated to the invoice.
- If Amount Type = Per Guest then calculation is based on the # of guests on the parent booking.
- If Amount Type = Percentage or Balance, the invoice items are evaluated and consideration of parent vs related booking is irrelevant.