label(__('Show remaining loan')) ->icon('heroicon-o-banknotes') ->requiresConfirmation(false) ->modal() ->modalContent(fn (Loan $record): View => LoanRepository::make()->showRemainingLoan($record)) ->modalFooterActions([]); } }