USED DROM XML update: add after_accident flag hotfix

This commit is contained in:
merelendor 2024-07-01 17:43:39 +03:00
parent c3df432448
commit cb98cb1879

View File

@ -323,7 +323,7 @@ class DromXMLGenerator
if(!empty($entry['PROPERTIES']['AFTER_ACCIDENT']['VALUE']))
{
$payload[ $special ? "idDamagedType" : "DamagedType" ] = $entry['PROPERTIES']['AFTER_ACCIDENT']['VALUE'] == "YES" ? 1 : 0;
$payload[ $special ? "idDamagedType" : "DamagedType" ] = $entry['PROPERTIES']['AFTER_ACCIDENT']['XML_VALUE'] == "YES" ? 1 : 0;
}
if($special)