-
Notifications
You must be signed in to change notification settings - Fork 58
[Invoice] Add new deposited
state to prepare moving to AASM
#11254
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I feel like archived should be separate state
@sampoder wdym? |
Note from call with Ruien: I believe what @sampoder meant here is that archived should not be an AASM state. This is because archived is an "addition to a state". An invoice would be archived in addition to open/paid/deposited, etc. |
_at
columnsdeposited
state to prepare moving to AASM
Summary of the problem
lots of random columns
Describe your changes
this centralizes those into AASM. Next PR will be to migrate all AASM states with a migration and change any pages to use the correct state.