Logo
Explore Help
Sign In
tandem/campingmontagut
tandem/campingmontagut
2
0
Fork 0
You've already forked campingmontagut
Code Issues Pull Requests Packages Projects Releases Wiki Activity
campingmontagut/verify/payment_reference.sql

8 lines
132 B
MySQL
Raw Normal View History

Add the admin page to see payments Had to do a couple of changes to the database: add the currency_code to the payment relation, to format the price according to the payment’s currency instead of the company’s; and the reference SQL function, to replace the equivalent golang function, so that i can use it to index payments. The rest is mostly the same as any other page, except that the individual payment’s page is not a form, but a regular info dump. I also moved the payment settings as a sub-route of payments, as i believe this makes more sense than an additional user menu item.
2024-02-14 04:54:42 +01:00
-- Verify camper:order_code on pg
begin;
select has_function_privilege('camper.reference(camper.payment)', 'execute');
rollback;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 88ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API