human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

Storage Location on purchase and donation should default to the Default Intake Location

Open cielf opened this issue 1 year ago • 4 comments

Summary

The storage location on purchases and donations should default to the Default Intake Location specified on the organization

Why

Saves bank time and possible mistakes - especially if the default is not the first in the drop down list.

Details

Recreation

While signed in as [email protected] The default intake location is specified in: My organization | Edit (about half-way down the page). The new donation screen can be reached via: Donations | New Donation The new purchase screen can be reached via: Purchases | New Purchase

Both of these should be defaulted to the default intake location, if it has been specified. Otherwise, no default.

Criteria for completion

  • [ ] behaviour as described above
  • [ ] automated tests that confirm that behaviour

cielf avatar Jun 09 '24 15:06 cielf

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] avatar Jul 15 '24 00:07 github-actions[bot]

Automatically unassigned after 7 days of inactivity.

github-actions[bot] avatar Jul 22 '24 00:07 github-actions[bot]

Hello @cielf

I would like to work on this issue and wanted to clarify the expected behaviour:

when the user loads the form, the Default Intake Location that appears should be whatever value that is specified on the organization and then the user should manually select a different Storage Location where applicable.

Is this correct or is there a different interpretation of how this should behave?

Thanks in advance 🙏🏿

lenikadali avatar Oct 14 '24 15:10 lenikadali

That sounds right -- and that should happen on purchases and donations (note: the default rules for distribution storage location are different).

cielf avatar Oct 14 '24 15:10 cielf

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] avatar Nov 14 '24 00:11 github-actions[bot]

Automatically unassigned after 7 days of inactivity.

github-actions[bot] avatar Nov 21 '24 00:11 github-actions[bot]

The PR is actively in the review cycle, so reassigning to @lenikadali

cielf avatar Nov 21 '24 02:11 cielf