campingmontagut/verify/acsi_option.sql
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

12 lines
160 B
PL/PgSQL

-- Verify camper:acsi_option on pg
begin;
select campsite_type_id
, campsite_type_option_id
, units
from camper.acsi_option
where false;
rollback;