forked from Yara724/api
update the culprit licenses chnged and ActualPremium
This commit is contained in:
@@ -79,8 +79,8 @@ export function toFanavaranHullBaseClaimPayload(
|
||||
const next: Record<string, unknown> = {};
|
||||
for (const key of FANAVARAN_HULL_BASE_CLAIM_KEYS) {
|
||||
if (key === "IsLicenseReplaced") {
|
||||
next[key] =
|
||||
built.IsLicenseReplaced ?? built.IsLicenseReplacement ?? null;
|
||||
// GEN.03: must be empty/null. Do not map ثالث IsLicenseReplacement (default 0).
|
||||
next[key] = null;
|
||||
continue;
|
||||
}
|
||||
if (key === "AccidentTypeId") {
|
||||
|
||||
Reference in New Issue
Block a user