forked from Yara724/api
fix: align inquiry errors and expert review rules
This commit is contained in:
@@ -8,13 +8,13 @@ export const REPAIR_LINE_AMOUNT_TOMAN = { // IT IS RIAL FROM NOW ON
|
||||
MAX: 530_000_000,
|
||||
} as const;
|
||||
|
||||
/** Max sum of all priced + factor lines in one expert reply / validation (Toman). */
|
||||
/** Max sum of all priced + factor lines in one V1 expert reply / validation (Rial). */
|
||||
export const CLAIM_V2_TOTAL_PAYMENT_CAP_TOMAN = REPAIR_LINE_AMOUNT_TOMAN.MAX;
|
||||
|
||||
const ENABLED_VALUES = new Set(["1", "true", "yes", "on", "enabled"]);
|
||||
|
||||
/**
|
||||
* Returns null when the claim v2 total cap is disabled.
|
||||
* Returns null when the V1 claim total cap is disabled.
|
||||
*
|
||||
* Set CLAIM_V2_TOTAL_PAYMENT_CAP_ENABLED=true to enforce the cap again.
|
||||
* Optionally set CLAIM_V2_TOTAL_PAYMENT_CAP_TOMAN to override the amount.
|
||||
|
||||
Reference in New Issue
Block a user