Product Model optimisation
This commit is contained in:
@@ -40,10 +40,10 @@ class OrderRequestApprove extends Mailable
|
||||
|
||||
// @todo This is not consistent with Cancel/Change Request
|
||||
switch ($this->service->category) {
|
||||
case 'BROADBAND': $subject = sprintf('%s: %s',$this->service->category,$this->service->type->service_address);
|
||||
case 'broadband': $subject = sprintf('%s: %s',$this->service->category,$this->service->type->service_address);
|
||||
break;
|
||||
|
||||
case 'PHONE': $subject = sprintf('%s: %s',$this->service->category,$this->service->type->service_number);
|
||||
case 'telephone': $subject = sprintf('%s: %s',$this->service->category,$this->service->type->service_number);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user