Product Model optimisation

This commit is contained in:
2023-05-05 10:32:04 +10:00
parent 0f91ce4940
commit 96f799f535
13 changed files with 145 additions and 115 deletions

View File

@@ -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: