feat: route user claims by branch and align licence issue dates

Require the damaged party in user flows to select an active insurer branch and preserve branch access rules. Accept older licence issue dates, correct anniversary boundaries, and update Fanavaran audit documentation and regression coverage.
This commit is contained in:
SepehrYahyaee
2026-11-14 12:24:14 +03:30
parent f021793b00
commit a15c54d017
28 changed files with 1403 additions and 42 deletions
+4 -1
View File
@@ -56,7 +56,10 @@ because they appear in the defaults below. Hull collision type, culprit type,
authority, damage kind, and cost kind select matching captions from API responses
without numeric fallbacks. Policy accessories are read for the current PolicyId;
ActualPremium is refreshed from that policy's TotalPremium. Expert-entered amounts
and durations remain expert data. `IsLicenseReplaced` is `1` when licence issue is >10 years before the accident, otherwise `null`.
and durations remain expert data. Licence issue dates have no 10-year intake
cutoff. The server derives `IsLicenseReplaced`: `0` through the third anniversary,
`null` after three years through the tenth anniversary, and `1` after ten years,
measured against the accident date. Third-party uses `IsLicenseReplacement`.
| Name | Shared seed | Parsian override | Tejaratno | Moallem | Varies? |
|------|-------------|------------------|-----------|---------|---------|