Draft: Resolve "Update capi calls for warranty" #1565

Closed
jankstudio wants to merge 77 commits from 642-update-capi-calls-for-warranty into master
Showing only changes of commit 02bf16e787 - Show all commits

View file

@ -71,8 +71,10 @@ class ResqInvoiceGenerator implements InvoiceGeneratorInterface
$cust_tag_info = []; $cust_tag_info = [];
if ($stype == ServiceType::BATTERY_REPLACEMENT_NEW) if ($stype == ServiceType::BATTERY_REPLACEMENT_NEW)
{ {
error_log('calling getCustomerTagInfo'); // check if criteria has entries
$cust_tag_info = $this->getCustomerTagInfo($cv); $entries = $criteria->getEntries();
if (!empty($entries))
$cust_tag_info = $this->getCustomerTagInfo($cv);
} }
// error_log($stype); // error_log($stype);
switch ($stype) switch ($stype)