Move category/category_name product::class methods into __get(), no functional changes
This commit is contained in:
@@ -8,7 +8,7 @@ Please order the following...
|
||||
| Account | {{ $service->account->name }} |
|
||||
| Service ID | {{ $service->sid }} |
|
||||
| Product | {{ $service->product->name }} |
|
||||
@switch($service->product->category)
|
||||
@switch($service->product->category_lc)
|
||||
@case('broadband')
|
||||
| Address | {{ $service->type->service_address }} |
|
||||
@break;
|
||||
|
@@ -7,7 +7,7 @@
|
||||
| Account | {{ $service->account->name }} |
|
||||
| Service ID | {{ $service->sid }} |
|
||||
| Product | {{ $service->product->name }} |
|
||||
@switch($service->product->category)
|
||||
@switch($service->product->category_lc)
|
||||
@case('broadband')
|
||||
| Address | {{ is_object($service->type) ? $service->type->service_address : 'Not Supplied' }} |
|
||||
@break;
|
||||
|
@@ -9,7 +9,7 @@ Please cancel the following...
|
||||
| Service ID | {{ $service->sid }} |
|
||||
| Cancel Date | {{ $service->stop_at->format('Y-m-d') }} |
|
||||
| Product | {{ $service->product->name }} |
|
||||
@switch($service->product->category)
|
||||
@switch($service->product->category_lc)
|
||||
@case('broadband')
|
||||
| Address | {{ $service->type->service_address }} |
|
||||
@break;
|
||||
|
@@ -8,7 +8,7 @@ Please change the following...
|
||||
| Account | {{ $service->account->name }} |
|
||||
| Service ID | {{ $service->sid }} |
|
||||
| Product | {{ $service->product->name }} |
|
||||
@switch($service->product->category)
|
||||
@switch($service->product->category_lc)
|
||||
@case('broadband')
|
||||
| Address | {{ $service->type->service_address }} |
|
||||
@break;
|
||||
|
Reference in New Issue
Block a user