Add sap code to warranty creation when battery exists. #660
This commit is contained in:
parent
4803152fb1
commit
232b962c2e
1 changed files with 4 additions and 0 deletions
|
|
@ -168,6 +168,10 @@ class WarrantyBulkUploader
|
||||||
$warr_private = $batt_info['warr_private'];
|
$warr_private = $batt_info['warr_private'];
|
||||||
$warr_commercial = $batt_info['warr_commercial'];
|
$warr_commercial = $batt_info['warr_commercial'];
|
||||||
$warr_tnv = $batt_info['warr_tnv'];
|
$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
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue