vsoch / freegenes

FreeGenes BioNode with Django
https://vsoch.github.io/freegenes/
Mozilla Public License 2.0
2 stars 4 forks source link

Mark shipments as "shipped" #106

Closed hverdonk closed 4 years ago

hverdonk commented 4 years ago

Is your feature request related to a problem? Please describe. Currently, after generating a shipping label, the request itself isn't updated as "shipped"

Describe the solution you'd like A toggle switch that I can flip when I actually ship the package.

Describe alternatives you've considered The package may be automatically marked as "shipped" when a shipping label is generated and downloaded.

vsoch commented 4 years ago

The boolean you are looking for is "received" - this gets set to true as soon as the label is generated, see https://github.com/vsoch/freegenes/blob/master/fg/apps/orders/views/shipping.py#L200

hverdonk commented 4 years ago

I see that this occurs on the admin page, but it doesn't occur on the main site.

Screen Shot 2019-10-28 at 10 50 02 AM
vsoch commented 4 years ago

So you want the string "Complete" to be Shipped instead? They essentially mean the same thing. The date shipped is also a manual field that you update in the admin interface (when you ship it).

hverdonk commented 4 years ago

I'm fine with the string "Complete" remaining as-is. I'd like a way to update the date shipped from within the site itself, rather than from the admin interface.

vsoch commented 4 years ago

I can provide a button that you click to designate that it's shipped right then, but implementing a date picker that updates the field for just one object life on the page is quite a bit of work.

hverdonk commented 4 years ago

A button would be perfect.

vsoch commented 4 years ago

okay I'll see what I can do!

vsoch commented 4 years ago

All set.

vsoch commented 4 years ago

Just to add a visual for future us, here is the live board:

image