stan errors
This commit is contained in:
@@ -17,6 +17,9 @@ class SberPaymentOrderFieldsForIndex
|
||||
{
|
||||
/**
|
||||
* Loan Order fields for "create"
|
||||
*
|
||||
* @param NovaSberPaymentOrder $resource
|
||||
* @return array<int, \Laravel\Nova\Fields\Field>
|
||||
*/
|
||||
public static function make(NovaSberPaymentOrder $resource): array
|
||||
{
|
||||
@@ -56,7 +59,10 @@ class SberPaymentOrderFieldsForIndex
|
||||
->sortable(),
|
||||
|
||||
Text::make(sprintf('%s (%s)', __('Paid'), __('This month')), function () use ($resource) {
|
||||
return static::paidField($resource, $resource->filter_month);
|
||||
return static::paidField(
|
||||
$resource,
|
||||
$resource->offsetExists('filter_month') ? $resource->offsetGet('filter_month') : null
|
||||
);
|
||||
}),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user