Problem/Motivation
There are two other types of transactions that can be tracked for an organization. That of "in-kind" donations.
An in-kind donation is a non-monetary contribution where a person or business gives or receives goods, services, or resources instead of cash. Examples include donating clothing to a shelter, offering free legal advice, or providing event space. Nonprofits record these at their estimated fair market value
The values of in-kind donations do not mix directly the way income and expenses do. so they should never add to the values of either of those categories, However, organizations still ought to be able to track them.
Proposed resolution
I propose adding the following values to the "transaction_type" so it looks like this
- - Expense
- - Income
- - In-kind donation received
- - In-kind donation made
On reporting, the sums would be kept separate from the income and expense, and net sums.
The two new types would be added to filters too.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork expense_tracker-3608342
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
swirtI am willing to work on this. Would you prefer that the two new transaction types were behind a new setting like "Allow tracking of in-kind donations."
Comment #4
swirtComment #5
swirtScreen caps are visible in the MR.
Comment #6
swirtComment #8
swirtComment #10
swirtThank you for merging this @sujan shrestha. When you have a chance, please address #9 ^^