Skip to content

Conversation

rluodev
Copy link
Contributor

@rluodev rluodev commented Aug 7, 2025

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.

@rluodev rluodev requested a review from garyhtou August 7, 2025 18:25
@rluodev rluodev self-assigned this Aug 7, 2025
@rluodev rluodev requested review from a team as code owners August 7, 2025 18:25
@rluodev rluodev linked an issue Aug 7, 2025 that may be closed by this pull request
@rluodev rluodev requested a review from sampoder August 13, 2025 00:02
Copy link
Member

@sampoder sampoder left a 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

@rluodev
Copy link
Contributor Author

rluodev commented Sep 6, 2025

@sampoder wdym?

@garyhtou
Copy link
Member

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.

@garyhtou garyhtou changed the title [Invoice] Add new AASM states to prepare to remove status enum and _at columns [Invoice] Add new deposited state to prepare moving to AASM Sep 10, 2025
@garyhtou garyhtou enabled auto-merge September 10, 2025 15:23
@garyhtou garyhtou dismissed sampoder’s stale review September 10, 2025 15:24

done. removed archived state

@garyhtou garyhtou added this pull request to the merge queue Sep 10, 2025
Merged via the queue into main with commit bb2be7e Sep 10, 2025
13 checks passed
@garyhtou garyhtou deleted the rluodev/invoice-build-out-aasm branch September 10, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invoice: Fix state management
3 participants