Add sap code to warranty creation when battery exists. #660

This commit is contained in:
Korina Cordero 2022-05-16 08:38:41 +00:00
parent 4803152fb1
commit 232b962c2e

View file

@ -168,6 +168,10 @@ class WarrantyBulkUploader
$warr_private = $batt_info['warr_private'];
$warr_commercial = $batt_info['warr_commercial'];
$warr_tnv = $batt_info['warr_tnv'];
// check that sap code is also in sap battery
if (isset($this->sap_batt_hash[$sap_code]))
$sap_bty_id = $sap_code;
}
else
{