Uncollected TOD job in Legacy
7 months ago by
1. Is a train booking.
2. Booking has a coupon ID.
3. Booking is confirmed.
4. Booking is ToD.
5. Booking is single and X days old OR return and X days old.
6. Booking is NOT Advance.
7. Booking cost is greater than ATOC fee.
Important point about point 7 - we only check if it's greater than the ATOC fee - not the ATOC fee + our cancel fee.
The reason we do that is because if the booking is, say, £7.50, and their cancel fee is £5, we still cancel the booking because it's > £5 - and we KEEP the £2.50.