Add a break when service type is set to jumpstart_warranty. #713
This commit is contained in:
parent
5e22dc5de1
commit
474298a42b
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ class ResqInvoiceGenerator implements InvoiceGeneratorInterface
|
||||||
break;
|
break;
|
||||||
case ServiceType::JUMPSTART_WARRANTY:
|
case ServiceType::JUMPSTART_WARRANTY:
|
||||||
$this->processJumpstartWarranty($total, $invoice);
|
$this->processJumpstartWarranty($total, $invoice);
|
||||||
|
break;
|
||||||
case ServiceType::BATTERY_REPLACEMENT_NEW:
|
case ServiceType::BATTERY_REPLACEMENT_NEW:
|
||||||
$this->processEntries($total, $criteria, $invoice);
|
$this->processEntries($total, $criteria, $invoice);
|
||||||
/*
|
/*
|
||||||
|
|
@ -726,7 +726,7 @@ class ResqInvoiceGenerator implements InvoiceGeneratorInterface
|
||||||
$stype = $criteria->getServiceType();
|
$stype = $criteria->getServiceType();
|
||||||
$cv = $criteria->getCustomerVehicle();
|
$cv = $criteria->getCustomerVehicle();
|
||||||
$has_coolant = $criteria->hasCoolant();
|
$has_coolant = $criteria->hasCoolant();
|
||||||
// error_log($stype);
|
error_log('mogol ' . $stype);
|
||||||
$cust_tag_info = [];
|
$cust_tag_info = [];
|
||||||
switch ($stype)
|
switch ($stype)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue