Delivery Executive Order Fulfillment & Payment Collection
To access my assigned sale orders from my inbox, view the customer's location, collect cash payments, upload proof of delivery, and mark the order as delivered,
So that I can successfully complete my daily assigned deliveries, ensure accurate real-time status updates, and provide the Accounts Department with the necessary payment receipts for registration.
1. Accessing Assigned Orders (Inbox Navigation)
- Given the delivery executive is successfully logged into the app,
- When they navigate to the hamburger menu and select "My Inbox",
- Then the system must display a list of assigned Sale Orders (e.g., SALE-47, SALE-46), including the source warehouse/department and the assignment timestamp.
2. Viewing Order Details & Navigating to Location
- Given the delivery executive selects a specific Sale Order from their Inbox,
- When the "Sale Order Details" screen opens,
- Then the system must display the itemized list, quantities, tax breakdowns, Total Amount, Advance Payment, and the remaining Balance Amount.
- And the system must provide a primary "Delivery Location" button that, when clicked, opens the destination via a mapping or navigation interface.
3. Proof of Delivery (POD) Upload
- Given the delivery executive is at the delivery location and handing over the items,
- When they tap the "POD Upload" button,
- Then the system must prompt the user to capture or upload an image as physical proof of the completed delivery.
4. Cash Collection & Receipt Generation
- Given the Sale Order has a pending Balance Amount,
- When the delivery executive collects the cash and clicks the "Collect ₹" button,
- Then the system must log the collected amount and generate a collection receipt.
- And this receipt data must be automatically synced/forwarded to the Accounts Department's registry for final reconciliation.
5. Marking Order as Delivered
- Given the physical items have been handed over, payment collected (if applicable), and POD uploaded,
- When the delivery executive clicks the "Delivered" button,
- Then the system must update the order status to "Delivered" and remove it from the active Inbox queue.
6. Handling Rejections (Exception Flow)
- Given the delivery executive is unable to deliver the order (e.g., customer unavailable, refused delivery),
- When the user inputs the reason into the "Reject Remarks" text field,
- Then the system must capture this reason and allow the order to be appropriately flagged or returned to the outbox/dispatch department.