jedireza/aqua

What is the purpose of Statuses?

jacogreyling opened this issue · 1 comments

You have the concept of 'Statuses' and for the life of me I don't see the use for it? Can you perhaps explain? I'm tempted to remove that part of the code because the demo system I'm building. Also thinking of removing Accounts, as all I need is Users and Admins. Another idea will be to make it modular so that you can decide during install time which components you want to install. Just a thought.

Here's an example. I went into the status manager and added a couple statuses. The pivot was Account for both of these so they end up showing up in the drop down in the account details screen.

screen shot 2017-08-04 at 8 06 23 pm

Then in the account details screen I'm able to select one and hit change.

screen shot 2017-08-04 at 8 08 25 pm

The statuses can be anything you like. One cool thing is that we could add a filter to the account search screen and only see accounts that have certain current status.

Another cool thing is that a history is kept of who change the status and when. Here I've changed the status.

screen shot 2017-08-04 at 8 10 08 pm

The reason why there is a pivot is because we can apply this exact same pattern to a new collection, like account orders for example and have order statuses.

I hope that helps answer your question. 👍