update the IsLicenseReplaced and for the accessories

This commit is contained in:
2026-11-11 17:20:02 +03:30
parent 54459877a2
commit 90bdc51715
13 changed files with 693 additions and 124 deletions
+10
View File
@@ -48,6 +48,16 @@ the cached login token can be reused across staff locations.
## Payload defaults (tenant profile.defaults)
Hull submissions validate selected codebook IDs against fresh Fanavaran API
responses before every create, base update, attachment upload, and expertise write.
These checks bypass lookup-file and database caches. Missing or inactive IDs block
the remote write with `FANAVARAN_HULL_LOOKUP_INVALID`; they are never accepted merely
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` stays explicitly 0.
| Name | Shared seed | Parsian override | Tejaratno | Moallem | Varies? |
|------|-------------|------------------|-----------|---------|---------|
| `AccidentCityId` | 701 | same | same | same | usually ❌ |