@@ -172,7 +172,7 @@ |
||
| 172 | 172 | 'price_b' => $enrollment->course->price_b, |
| 173 | 173 | 'price_c' => $enrollment->course->price_c, |
| 174 | 174 | ]), |
| 175 | - 'studentPriceCategory' => $enrollment->student?->price_category, |
|
| 175 | + 'studentPriceCategory' => $enrollment->student ? ->price_category, |
|
| 176 | 176 | ] |
| 177 | 177 | ); |
| 178 | 178 | } |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | 'price_b' => $enrollment->course->price_b, |
| 93 | 93 | 'price_c' => $enrollment->course->price_c, |
| 94 | 94 | ]), |
| 95 | - 'studentPriceCategory' => $enrollment->student?->price_category, |
|
| 95 | + 'studentPriceCategory' => $enrollment->student ? ->price_category, |
|
| 96 | 96 | ] |
| 97 | 97 | ); |
| 98 | 98 | } |