ringlesoft / laravel-process-approval

Laravel Process Approval is a Laravel package that makes it easy to add approvals to your Laravel application. It allows you to define approval workflows for any model, and it provides a simple and easy-to-use API/UI for managing approvals.
http://ringlesoft.com/packages/laravel-process-approval
MIT License
157 stars 19 forks source link

ERROR #11

Closed ehtashamGH closed 5 months ago

ehtashamGH commented 6 months ago

Facing this error continuously. Experimenting on laravel version 10.

image

ringunger commented 6 months ago

Hello @ehtashamGH, What version of the package are yo using? Can you try to upgrade to the latest version?

ehtashamGH commented 6 months ago

Hello @ehtashamGH, What version of the package are yo using? Can you try to upgrade to the latest version?

Latest one I guess via composer command. I think it fetches latest version of the package? But the error was genuine inside laravel version 10. I manually gave int vals to test the package. Like the error was add step function expecting model and role id integers. But the code was throwing model name and role name strings.

ringunger commented 6 months ago

The latest version uses Laravel Prompt. But the screenshot you shared doesn't seem to be using laravel prompts.

Here is a screenshot

image