Merge branch '458-cmb-service-type-transaction-names' into '424-cmb-release'
Resolve "CMB - service type transaction names" See merge request jankstudio/resq!533
This commit is contained in:
commit
90918c49ef
2 changed files with 7 additions and 1 deletions
|
|
@ -6,11 +6,13 @@ class CMBServiceType extends NameValue
|
|||
{
|
||||
const BATTERY_REPLACEMENT_NEW = 'battery_new';
|
||||
const BATTERY_REPLACEMENT_WARRANTY = 'battery_warranty';
|
||||
const WARRANTY_CLAIM = 'warranty_claim';
|
||||
const JUMPSTART = 'jumpstart';
|
||||
|
||||
const COLLECTION = [
|
||||
'battery_new' => 'Battery Sales',
|
||||
'battery_warranty' => 'Under Warranty',
|
||||
'battery_warranty' => 'Warranty Replacement',
|
||||
'warranty_claim' => 'Warranty Claim',
|
||||
'jumpstart' => 'Jumpstart',
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,6 +86,10 @@ class CMBInvoiceGenerator implements InvoiceGeneratorInterface
|
|||
case CMBServiceType::BATTERY_REPLACEMENT_WARRANTY:
|
||||
$this->processWarranty($total, $criteria, $invoice);
|
||||
break;
|
||||
case CMBServiceType::WARRANTY_CLAIM:
|
||||
// TODO: this will change once we confirm what needs to be computed
|
||||
$this->processOtherServices($total, $invoice, $stype);
|
||||
break;
|
||||
//case ServiceType::POST_RECHARGED:
|
||||
// $this->processRecharge($total, $invoice);
|
||||
// break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue