feat: Update NEXT_SPRINT_TASKS with new tasks and modify ViewOrdersCubit to remove debug print statements
This commit is contained in:
@@ -17,3 +17,5 @@
|
|||||||
- Track `lat` and `lng` in the staff preferred work locations (for now we are only storing the name).
|
- Track `lat` and `lng` in the staff preferred work locations (for now we are only storing the name).
|
||||||
- Remove "Up Next (x)" counter from orders list in client app as it is confusing, becase the tab already has a badge showing the number of the upcoming orders.
|
- Remove "Up Next (x)" counter from orders list in client app as it is confusing, becase the tab already has a badge showing the number of the upcoming orders.
|
||||||
- ` final String status;` in `OrderItem` make it an enum.
|
- ` final String status;` in `OrderItem` make it an enum.
|
||||||
|
- /// Date of the shift (ISO format).
|
||||||
|
final String date; make this in the DateTime format instead of string.
|
||||||
|
|||||||
@@ -212,9 +212,6 @@ class ViewOrdersCubit extends Cubit<ViewOrdersState> {
|
|||||||
final List<OrderItem> ordersOnDate = state.orders
|
final List<OrderItem> ordersOnDate = state.orders
|
||||||
.where((OrderItem s) => s.date == selectedDateStr)
|
.where((OrderItem s) => s.date == selectedDateStr)
|
||||||
.toList();
|
.toList();
|
||||||
print(
|
|
||||||
'ViewOrders selectedDate=$selectedDateStr ordersOnDate=${ordersOnDate.length}',
|
|
||||||
);
|
|
||||||
|
|
||||||
// Sort by start time
|
// Sort by start time
|
||||||
ordersOnDate.sort(
|
ordersOnDate.sort(
|
||||||
|
|||||||
Reference in New Issue
Block a user