[FEAT] Add requests #13
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
banquise/laundering#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
NOT FINISHED at all
maybe dont bother with multiple object, just keep one transaction and add multiple columns to have the current status, know if there is a need for 'intermediate' objects ?
Instead of discussing then manually adding transactions, request transactions, that must be reviewed then accepted or rejected.
The workflow should look like :
Request -> (approved or refused) -> TransactionUpcoming -> (after buying / receiving the money) -> Transaction
The accountant/roots will be able to create request, upcoming and transactions, whether it is linked to a project or not.
Meanwhile, clubs/members will be limited to requests creation, which must be linked to a project.
Roots will be able to generate estimates (devis) from TransactionRequest (when they arent refused), and invoices (factures) from TransactionUpcoming (anytime? or only when not validated?)
Reduce transaction types to:
Create a new filed for transaction with enum TransactionStatus :
col to add/change to transactions :
TRASH area
TransactionsRequest :
future idea : when rejected, unlocks a button allowing user with enough perms on a sub-account to create a new request with the same data (to win some time to avoid writing data from scratch)
future idea : add ndf which will automatically create and fill a transaction request and its justificatives?
TransactionUpcoming :