cityofaustin / atd-mobile-signals-work-orders

Mobile Signals Work Orders app using React UI with Knack API
https://mobile-signals.austintexas.io
Other
3 stars 1 forks source link

Work Order Details "Submit" button is disabled when status is "In Progress" #259

Closed mddilley closed 4 years ago

mddilley commented 4 years ago

Closes https://github.com/cityofaustin/atd-data-tech/issues/2626 Closes https://github.com/cityofaustin/atd-data-tech/issues/1587

Note: The scene and view for the Inventory section in the Work Order Details view will not work locally in this branch since they have been updated in the staging Knack app for new features in master. The scene and view in this branch match those currently in production.

Updates not already in master: This PR updates the logic that determines if a work order is complete and allows work orders with "In Progress" status to be submitted. I also updated the tile source for pigeon-maps to OSM since I was reminded that the original tiles were being rate-limited while I tested this branch.

Updates already in master: I fixed the Work Order Details location field for the title that was not populating. I also updated the staging app ID in the app and Netlify config.

Updated Work Order Details location title and enable submit button with status "In Progress"

Screen Shot 2020-05-21 at 10 53 42 AM

Original tile source

Screen Shot 2020-05-20 at 10 02 19 AM

Updated tile source

Screen Shot 2020-05-20 at 2 54 33 PM