Andrew Wallo 1 rok temu
rodzic
commit
508c5f7334

+ 1
- 1
app/Filament/Company/Resources/Common/OfferingResource.php Wyświetl plik

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();

Ładowanie…
Anuluj
Zapisz