rubyforgood / human-essentials

Human Essentials is an inventory management system for diaper, incontinence, and period-supply banks. It supports them in distributing to partners, tracking inventory, and reporting stats and analytics.
https://humanessentials.app
MIT License
446 stars 467 forks source link

Add In Kind value to Donation export #4524

Open cielf opened 2 months ago

cielf commented 2 months ago

Summary

Add Donation-level in-kind value to Donation export

Why?

Helps the banks with external paperwork

Details

Add the in-kind value, at a donation level, to the Donation export. Put it before the item breakdown

Note

  1. We checked with the user who requested this -- they said that item-level would be lovely, but not necessary. Unless someone specifically needs it, let's leave it out for reasons of file size and manageablilty of working with the exported file.
  2. We will need to highlight this in the announcements when it goes in, as it will need people to adjust their external use of the export.

    Criteria for completion

    • [ ] In-kind value included in donation export, before the items
    • [ ] tests to demonstrate
Sahil-Dash commented 1 month ago

can you just tell me where in the code file responsible for generating the Donation export, so that i can navigate to it directly and add donation level in it after understanding the code

cielf commented 1 month ago

To navigate to the donation export, sign in as org_admin1@example.com, click "Donations', the "All Donations", then "Export Donations".
You'll likely want to look at app/services/exports/export_donations_csv_service.rb

github-actions[bot] commented 2 weeks ago

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.

github-actions[bot] commented 1 week ago

Automatically unassigned after 7 days of inactivity.