spatie/laravel-model-status

How to use with multiple status for different role?

Closed this issue · 2 comments

Hi just asking some idea on how to approach this use case.

For example

Model current status is PENDING PICKUP, and the the Manager user click the button PICKUP.

  1. The status for Manager user now is IN PROGRESS.

  2. The status for normal user is PICKED UP.

Question

  1. Do we store both status?

  2. If yes, how do we differentiate which STATUS is for which user role? I'm thinking maybe a custom column in the statuses table called status_roles

Thanks

I'd say you would store multiple statuses i.e. status and manager_status? AFAIK this package does not support that yet.

There's no support for a model having multiple statuses.