id: 023 module: retainage name: percentages-asymmetric-retainage-3-and-7-percent title: Percentages: ASYMMETRIC retainage 3%/7% tags: [module:retainage, status:automated, priority:high] priority: high status: automated spec: tests/e2e/tests/retainage.spec.ts
023 — Percentages: ASYMMETRIC retainage 3%/7%¶
Description¶
Asymmetric retainage 3%/7% on 605 000 Kč. The maximum percentage (7%) drives retainageClaim = 93% × 605 000 = 562 650 Kč.
Preconditions¶
- Clean database (
TestControl.cleanDb()) - User logged in with ADMIN and ACCOUNTING roles
- User signature set up
- Contract 605 000 Kč, branch 2025020; shortRetainage=3%, longRetainage=7%
- Invoice FV2025020008 matches
OBJ-HIGH-RETAINAGE
Steps¶
- Navigate to Retainage page — Expected: FV2025020008 exists and NOT highlighted
- Assert claim sum = 562 650 Kč; remaining = 42 350 Kč — Expected: Higher-of-the-two percentage (7%) drives the formula
Related¶
- Spec:
tests/e2e/tests/retainage.spec.ts
Media¶
