UCSDTESC/inventory

Add optional fields to Create Item

Closed this issue · 2 comments

Take a look at the InventoryItem type and the design doc on slack for the schema. We want to have all fields clearly denoted as either required or optional. If required, it should raise an error when the user tries to create the item without filling it in. This is for the admin's create view.

I added Picture uploads earlier today, you should be able to work off of that code to add receipts (which should follow the same model, an image taken / uploaded that gets uploaded to GCS (Google Cloud Storage) and with the url to the img saved in firebase.

sorry for any merge conflicts :( lmk on slack if you any need help fixing them @vickivc