coopcycle-web icon indicating copy to clipboard operation
coopcycle-web copied to clipboard

As an admin/dispatcher I want to be able to create a new order (or not) when I reschedule ("relivrer") a task after right-clicking a failed task

Open Atala opened this issue 1 year ago • 7 comments

In order to achieve something As an admin/dispatcher I want to be able to create a new order (or not) when I reschedule ("relivrer") a task after right-clicking a failed task

Screenshot 2024-03-07 at 11-35-20 CoopCycle

Related to #4040 , same UX problem

Atala avatar Mar 07 '24 11:03 Atala

if you are re-scheduling one order, why would you need to make a new order?

Paul-Eraman-CoopCycle avatar Oct 14 '24 17:10 Paul-Eraman-CoopCycle

I think depending on the case when you are going to re-deliver :

  1. reschedule the order
  2. cancel this one and create a new one ? i think it was brought up by adrien or aubin

Atala avatar Oct 15 '24 07:10 Atala

ok, i think my opinion here is that this is a reschedule the order modal, that appears when you click "reschedule the order"

what maybe we do want is a button in the order modal (no more task modals!) that is "duplicate this order" or a "duplicate this order" in the right click menu

how hard would the right click option be in time @Atala ?

Paul-Eraman-CoopCycle avatar Oct 15 '24 10:10 Paul-Eraman-CoopCycle

it will open a new page, as in the "duplicate order" feature i guess

@vladimir-8 knows i think, i dont really know how the order duplication feature works, is it based on some hash value? (the one passed in the url)

Atala avatar Oct 15 '24 10:10 Atala

ok, lets wait for vladimir to wake up in canada :)

Paul-Eraman-CoopCycle avatar Oct 15 '24 10:10 Paul-Eraman-CoopCycle

is it based on some hash value? (the one passed in the url)

Yes, you pass the order id, and it takes data from that order

To be honest, if doing this properly, it does not make sense to duplicate an order. It should be the same order, but maybe with a new task. That way, we can properly track the order status/events

vladimir-8 avatar Oct 15 '24 18:10 vladimir-8

did you see here ? i think in some use case you really want a new order (not incident)

-> actually the title of the issue is bad or should be two issues

Atala avatar Oct 16 '24 07:10 Atala