feat(frontend+billing): integrate billing UI and navigation into Turnier module
- **Navigation Updates:** - Added `AppScreen.Billing` route for participant billing linked to an event and tournament. - **UI Additions:** - Introduced `BillingScreen` and `BillingViewModel` for participant account management and manual transactions. - Updated `TurnierAbrechnungTab` to include `BillingScreen` and enable account interaction. - **Turnier Enhancements:** - Enhanced `NennungenTabContent` to support navigation to billing via a new interaction. - Added billing feature as a dependency to `turnier-feature`. - **Billing Domain:** - Extended `Money` to include subtraction operation and improved formatting for negative amounts. - Added DTOs (`TeilnehmerKontoDto`, `BuchungDto`, `BuchungRequest`) for seamless data exchange with backend. - **Test Improvements:** - Updated `PreviewTurnierAbrechnungTab` to include interactive billing placeholder. - **Misc Updates:** - Enhanced breadcrumb navigation for billing in `DesktopMainLayout` for better user experience.
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ inline fun <T> tenantTransaction(crossinline block: () -> T): T = transaction {
|
||||
// Set search_path for this transaction/connection
|
||||
val dialect = TransactionManager.current().db.vendor
|
||||
if (dialect == "postgresql") {
|
||||
TransactionManager.current().exec("SET search_path TO \"$schema\"")
|
||||
TransactionManager.current().exec("SET search_path TO \"$schema\", pg_catalog")
|
||||
} else if (dialect == "h2") {
|
||||
TransactionManager.current().exec("SET SCHEMA \"$schema\"")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user