Transfer delivery

Description#

Allows the admin to transfer the delivery between couriers in case the need arises.

Validation#

  • Can only be done on an active order with home delivery delivery method.
  • Can only be done on a delivery which has an assigned courier.
  • Can only be transferred to an available courier.

Mechanism#

  1. Save an indication on the order regarding the previous courier.
  2. Assign the delivery to the new courier.
  3. Send a push notification to the courier the delivery is transferred to.

Notes#

info
  • Transferring to the same courier does nothing.