Add page for calculating PayPal taxes

This commit is contained in:
2024-01-31 18:43:08 +01:00
parent 2decd3aa8b
commit e5f4d030c4
7 changed files with 314 additions and 5 deletions

View File

@@ -191,6 +191,7 @@ func New(r *httprouter.Router, prefix string, conf Config) (wc *WebController) {
{GET, "admin/ip_bans" /* */, wc.serveTemplate("admin", handlerOpts{Auth: true})},
{GET, "admin/user_management" /* */, wc.serveTemplate("admin", handlerOpts{Auth: true})},
{GET, "admin/mollie_settlements" /**/, wc.serveTemplate("admin", handlerOpts{Auth: true})},
{GET, "admin/paypal_taxes" /* */, wc.serveTemplate("admin", handlerOpts{Auth: true})},
{GET, "admin/globals" /* */, wc.serveForm(wc.adminGlobalsForm, handlerOpts{Auth: true})},
{PST, "admin/globals" /* */, wc.serveForm(wc.adminGlobalsForm, handlerOpts{Auth: true})},