Merge branch '660-add-customer-and-customer-vehicle-in-warranty-upload' into 'master'
Add sap code to warranty creation when battery exists. #660 Closes #660 See merge request jankstudio/resq!781
This commit is contained in:
commit
b343d00dfc
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue