Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error for view action #21

Open
alboxe opened this issue Jun 13, 2024 · 1 comment
Open

Error for view action #21

alboxe opened this issue Jun 13, 2024 · 1 comment

Comments

@alboxe
Copy link

alboxe commented Jun 13, 2024

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
Copy link
Owner

Can you share the full stack trace of the issue please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants