jordi fita mas 0412ffca05 Compute ACSI discount
After months of keeping what does the ACSI checkbox mean, now customer
told us that we should add a discount based on a series of
arbitrary conditions that, and need to be done NOW!

There is no UI to edit the conditions due to lack of time.
2024-03-14 22:08:01 +01:00

15 lines
211 B
PL/PgSQL

-- Verify camper:acsi on pg
begin;
select campsite_type_id
, number_adults
, number_teenagers
, number_children
, number_dogs
, cost_per_night
from camper.acsi
where false;
rollback;