camper/pkg/booking
jordi fita mas bd84df8169 Add down payment
Customer wants to require a down payment of 30 % for bookings made
one week or more before the actual date, and to make the full payment
otherwise.

This would require yet another relation to keep these values. Fuck it;
i added them to the function, as they are very unlikely to change.

That forced me to change the test for draft_payment to use relative
dates, otherwise there is no way i can have stable results in the
future.
2024-02-13 23:45:25 +01:00
..
admin.go Add “part” of the bookings’ management 2024-01-18 21:05:30 +01:00
cart.go Add down payment 2024-02-13 23:45:25 +01:00
ods.go Refactor ISO date, and datestamp format in constant 2024-01-31 19:58:46 +01:00
payment.go Add ready_payment function and use their slug as URL 2024-02-12 18:06:17 +01:00
public.go Fixed null pointer access on validating booking without dogs or options 2024-02-13 17:05:19 +01:00