|
@@ -37,7 +37,7 @@ class OfferingResource extends Resource
|
37
|
37
|
->label('Inactive adjustments')
|
38
|
38
|
->warning()
|
39
|
39
|
->icon('heroicon-o-exclamation-triangle')
|
40
|
|
- ->visible(fn (Offering $record) => $record->hasInactiveAdjustments())
|
|
40
|
+ ->visible(fn (?Offering $record) => $record?->hasInactiveAdjustments())
|
41
|
41
|
->columnSpanFull()
|
42
|
42
|
->description(function (Offering $record) {
|
43
|
43
|
$inactiveAdjustments = collect();
|