Andrew Wallo 6 mēnešus atpakaļ
vecāks
revīzija
508c5f7334

+ 1
- 1
app/Filament/Company/Resources/Common/OfferingResource.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt