campingmontagut/revert/draft_payment@v4.sql
jordi fita mas 97831668e5 Add the number of maximum nights that tourist tax applies
This is required by law.

I do not know why i have this value and the tax amount in the database,
but the payment percent and the number of days are hardcoded. I guess i
am such an inconsistent mess.
2024-02-27 20:06:28 +01:00

10 lines
234 B
PL/PgSQL

-- Revert camper:draft_payment from pg
begin;
drop function if exists camper.draft_payment(uuid, date, date, uuid, integer, integer, integer, integer, text, camper.option_units[]);
drop type if exists camper.option_units;
commit;