When configuring the agencies profile you can select the deferred payment date in order to received the second payment for a booking.
if you insert a negative value like for example -7 this means that the system will require the second payment -7 days before departure, or even earlyer if there is a service pending to be paid with a more restrictive refund policy. If this service is more permisive, it will still request the second payment 7 days before departure.
But if you insert 0 or a NON negative value, this means that you are allowing the system to offer the second payment ON THE SAME DAY OR AFTER the date of departure. In this case if will not conside any service refund policy to calculate the deferred payment date.
Example 1: deferred payment days -7 but there is a service with refund policy up to 15 days before service —–> system will mark the second payment 15 days before departure.
Example 2: Deferred payment days -7 but the pending services has a refund policy up to 2 days before departure —-> system will mark the second payment for 7 days before departure
Example 3: Deferred payment days +3 but the pending service has a refund policy of 5 days before departure —-> the system will mark the second payment dare for 3 dyas AFTER departure
