Resolve "Add entities and UI for One Time Promo" #1472

Merged
korina.cordero merged 10 commits from 558-add-entities-and-ui-for-one-time-promo into master 2021-05-10 06:01:40 +00:00
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)