Hide SelectColumn based on soft delete status
I want to hide a column, as per the title. See the code below. This has worked before within the project, but I in this case get the error:
Argument #1 ($record) must be of type App\Models\Payment, null given. Any suggestions?