DickinsonCollege / FD2School-FarmData2-S23

A fork of FarmData2 that is used for the FarmData2 School Activities.
Other
1 stars 36 forks source link

Tray Seeding Report: Only Field Areas in While Editing #258

Open braughtg opened 11 months ago

braughtg commented 11 months ago

Current Functionality

When editing a row in the Transplanting Report, the dropdown for areas currently displays all available areas. This is undesirable as transplanting logs, the movement of a tray seeding from a greenhouse area to a field area, should not have their area changed back to a greenhouse by users.

Desired Functionality

It would be best if the users weren't given the option to change the area of a transplanting log back to a greenhouse area. This means that the JSON objects for the areas needs to be fetched and filtered to save only the field areas into an array that could be passed into the computed method that makes the editing data available to the user while in editing mood. There is no need to worry about seeding types because this report only contains transplanting logs.