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