TextEntry::make('payments_count') ->state(fn (YourModel $record) => $record->totalAmount())
© 2026 Hedgehog Software, LLC