Skip to content
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

Add ability to track fund spending #8

Open
yuriytkach opened this issue May 29, 2022 · 0 comments
Open

Add ability to track fund spending #8

yuriytkach opened this issue May 29, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@yuriytkach
Copy link
Owner

Add support with special slack command to be able to track spending of fund.

Command to support:
spend 1500 uah 2022-05-29 11:14 "Buy the drone", where

  • spend - command name (required)
  • 1500 - amount (required)
  • uah - currency (optional, use fund's currency by default)
  • 2022-05-29 - date (optional, use today's date by default)
  • 11:14 - time (optional, use current time by default)
  • "Buy the drone" - description (optional, put something by default)

Tracking of spending should go into separate table.

Add field to Fund object called spent to track total amount that was spent. Update that field each time a spending is recorded.

Return total spent amount when processing list command.

Return all spending records together with donations records when processing list <fundname> command.

@yuriytkach yuriytkach added enhancement New feature or request help wanted Extra attention is needed labels May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant