From ff795ce66ccc7a79bb6d74bb735389cbd06e0ff8 Mon Sep 17 00:00:00 2001 From: philipp Date: Thu, 18 Jan 2024 22:02:44 +0100 Subject: [PATCH] start with fee calc --- src/tera/admin/user.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/tera/admin/user.rs b/src/tera/admin/user.rs index 2e21f41..280013f 100644 --- a/src/tera/admin/user.rs +++ b/src/tera/admin/user.rs @@ -62,18 +62,20 @@ async fn fees( // Schüler -> Donau Linz // Student -> Donau Linz - // Fördernd: 85€ - // Unterstützend: 25€ + // Fördernd + boat: 85€ + // Unterstützend + boat: 25€ - // select id, size_of_family, count_rennsport from family + // select id, size_of_family, count_rennsport, amount_boats from family // 2-Family: 220€ // 3+-Family: 350€ - // Normal: 220€ + // select student+schüler, amount_boats, rennsportbeitrag where !family // Student, Schüler: 80€ - // Rennsportbeitrag: 110€ + // select donaulinz, amount_boats, rennsportbeitrag where !family !student ! schüler + // Normal: 220€ + // Rennsportbeitrag: 110€ // Bootsplatz: 45€ let mut context = Context::new();