Add a break when service type is set to jumpstart_warranty. #713

This commit is contained in:
Korina Cordero 2022-10-11 05:23:23 +00:00
parent 5e22dc5de1
commit 474298a42b

View file

@ -84,7 +84,7 @@ class ResqInvoiceGenerator implements InvoiceGeneratorInterface
break;
case ServiceType::JUMPSTART_WARRANTY:
$this->processJumpstartWarranty($total, $invoice);
break;
case ServiceType::BATTERY_REPLACEMENT_NEW:
$this->processEntries($total, $criteria, $invoice);
/*
@ -726,7 +726,7 @@ class ResqInvoiceGenerator implements InvoiceGeneratorInterface
$stype = $criteria->getServiceType();
$cv = $criteria->getCustomerVehicle();
$has_coolant = $criteria->hasCoolant();
// error_log($stype);
error_log('mogol ' . $stype);
$cust_tag_info = [];
switch ($stype)
{