eighty9nine / filament-approvals

MIT License
70 stars 21 forks source link

Error for view action #21

Open alboxe opened 5 months ago

alboxe commented 5 months ago

In my ViewLeaveRequest I added the getOnCompletionAction() function as described in the usage section. When I click on a row or on the View button I get the error "Call to undefined method App\Models\LeaveRequest::shouldBeHidden()". This happens on non aproved leave request and fully approved ones. Any idea what went wrong? I imported ApprovableModel with use EightyNine\Approvals\Models\ApprovableModel; Kr. Albert Oxener

eighty9nine commented 4 months ago

Can you share the full stack trace of the issue please