0
I need help implementing a request status.
I am on a project that in the order session, I detail a specific request. Inside it will have a select
to select the STATUS
of the request, if it was pago
, entregue
, cancelado
and etc.
But I don’t know the best way to implement it, they gave me a package that is: https://github.com/spatie/laravel-model-status#assign-statuses-to-eloquent-models
Where has situation of the request is to come the STATUS
of the request and also where I can change it.
Welcome, young man. Why don’t you try implementing this "at hand"? You can easily do this by creating a table
status_pedido
and relating it to a fieldstatus_pedido_id
. I personally find it a waste to use a lib just for that.– Wallace Maxters
I tbm, but the project manager would use this to make the status. I for one had done the way you said, but...
– Romulo Sousa
Project manager sometimes more disruptive than helpful.
– Wallace Maxters
Do you want instructions to run the installation? In the GITHUB project itself you are teaching this. Try to translate the page and perform the steps calmly.
– Wallace Maxters
This is already installed in the project, follow the steps but nothing comes out. I have never used this package and particularly find it quite useless, but the problem is still that it has 12 status, and it is divided into profiles, type ACL, that each profile can only change certain status.
– Romulo Sousa