- **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.
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
/**
|
|
* Feature-Modul: Turnier-Verwaltung (Desktop-only)
|
|
* Kapselt alle Screens und Tabs für Turnier-Detail, -Neuanlage und alle Turnier-Tabs
|
|
* (Stammdaten, Organisation, Bewerbe, Artikel, Abrechnung, Nennungen, Startlisten, Ergebnislisten).
|
|
*/
|
|
plugins {
|
|
alias(libs.plugins.kotlinMultiplatform)
|
|
alias(libs.plugins.composeMultiplatform)
|
|
alias(libs.plugins.composeCompiler)
|
|
}
|
|
group = "at.mocode.clients"
|
|
version = "1.0.0"
|
|
kotlin {
|
|
jvm()
|
|
sourceSets {
|
|
jvmMain.dependencies {
|
|
implementation(projects.frontend.core.designSystem)
|
|
implementation(projects.frontend.core.domain)
|
|
implementation(projects.frontend.core.network)
|
|
implementation(projects.frontend.core.navigation)
|
|
implementation(projects.frontend.features.billingFeature)
|
|
implementation(project(":core:zns-parser"))
|
|
implementation(compose.desktop.currentOs)
|
|
implementation(compose.foundation)
|
|
implementation(compose.runtime)
|
|
implementation(compose.material3)
|
|
implementation(compose.ui)
|
|
implementation(compose.materialIconsExtended)
|
|
implementation(libs.bundles.kmp.common)
|
|
implementation(libs.koin.core)
|
|
implementation(libs.koin.compose)
|
|
implementation(libs.koin.compose.viewmodel)
|
|
// Ktor client for repository implementation
|
|
implementation(libs.ktor.client.core)
|
|
}
|
|
}
|
|
}
|