Closed kdinev closed 6 years ago
Clarification on the current flow: Adding an order does not mean generating an order. It means that there is one in a database already, and you're just calling it either via submitting the number, or via scanning a barcode.
If we keep the current flow, there is no auto-generation necessary.
The end-user should not be asked to manually type in the order id number. Basically there are two use cases:
1. The user can add an order by selecting it from a predefined list. Since the order must already exist, the user should see a list of available orders, search by id and select the required one.
2. The user can add an order by scanning a barcode. The end-user can add an order using the scanner as currently implemented.
The current flows must be re-worked accordingly to cover both scenarios.
Hello, here comes a proposal: To avoid creating a screen that has two further options (scan barcode or search database for orders), a better option could be to utilize the FAB button better and make it pop a small menu with the options;
-- cons - the cons of this is that you can navigate away accidentally by tapping outside the search field/button;
The current functionality is just to fill an order id.
The order id should be auto-generated. The view should support filling-in items that are going to be in this order.