fix: počítání částek v haléřích z důvodu přesnosti
CI / Generate TypeScript types (push) Successful in 21s
CI / Build server (push) Successful in 25s
CI / Server unit tests (push) Successful in 55s
CI / Build client (push) Successful in 33s
CI / Playwright E2E tests (push) Successful in 1m20s
CI / Build and push Docker image (push) Successful in 35s
CI / Notify (push) Successful in 2s

This commit is contained in:
2026-05-07 13:05:04 +02:00
parent d91c8db49c
commit 8aef00ab05
18 changed files with 370 additions and 380 deletions
+8 -8
View File
@@ -14,21 +14,21 @@ post:
description: ID skupiny
type: string
fees:
description: Poplatky ()
type: number
description: Poplatky (haléře)
type: integer
shipping:
description: Doprava ()
type: number
description: Doprava (haléře)
type: integer
tip:
description: Spropitné ()
type: number
description: Spropitné (haléře)
type: integer
discountType:
description: Typ slevy
type: string
enum: [percent, fixed]
discountValue:
description: Hodnota slevy
type: number
description: Hodnota slevy (procenta nebo haléře pro fixed)
type: integer
responses:
"200":
$ref: "../../api.yml#/components/responses/ClientDataResponse"
+4 -4
View File
@@ -18,8 +18,8 @@ post:
description: Login člena ke změně
type: string
amount:
description: Částka k úhradě v
type: number
description: Částka k úhradě v haléřích
type: integer
note:
description: Poznámka
type: string
@@ -27,8 +27,8 @@ post:
description: Popis příplatku
type: string
surchargeAmount:
description: Výše příplatku v
type: number
description: Výše příplatku v haléřích
type: integer
responses:
"200":
$ref: "../../api.yml#/components/responses/ClientDataResponse"