Merge pull request 'Changed CAP to RIAL' (#317) from s.yahyaee/yara724-api:main into main

Reviewed-on: Yara724/api#317
This commit is contained in:
2026-09-15 11:56:24 +03:30

View File

@@ -1,11 +1,11 @@
/**
* Per-line and total caps for repair money. All values are **Toman** (no unit conversion in the API).
*/
export const REPAIR_LINE_AMOUNT_TOMAN = {
export const REPAIR_LINE_AMOUNT_TOMAN = { // IT IS RIAL FROM NOW ON
/** Below this is not credible for a priced repair line (e.g. 1,000 Toman). */
MIN: 10_000,
MIN: 100_000,
/** Aligns with the total assessment cap; rejects absurd values (e.g. 100bn). */
MAX: 53_000_000,
MAX: 530_000_000,
} as const;
/** Max sum of all priced + factor lines in one expert reply / validation (Toman). */