diff --git a/apps/mobile/NEXT_SPRINT_TASKS.md b/apps/mobile/NEXT_SPRINT_TASKS.md index 562f85a1..cdc791b6 100644 --- a/apps/mobile/NEXT_SPRINT_TASKS.md +++ b/apps/mobile/NEXT_SPRINT_TASKS.md @@ -17,3 +17,5 @@ - 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. - ` 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. diff --git a/apps/mobile/packages/features/client/view_orders/lib/src/presentation/blocs/view_orders_cubit.dart b/apps/mobile/packages/features/client/view_orders/lib/src/presentation/blocs/view_orders_cubit.dart index 3b7f5684..1bb51869 100644 --- a/apps/mobile/packages/features/client/view_orders/lib/src/presentation/blocs/view_orders_cubit.dart +++ b/apps/mobile/packages/features/client/view_orders/lib/src/presentation/blocs/view_orders_cubit.dart @@ -212,9 +212,6 @@ class ViewOrdersCubit extends Cubit { final List ordersOnDate = state.orders .where((OrderItem s) => s.date == selectedDateStr) .toList(); - print( - 'ViewOrders selectedDate=$selectedDateStr ordersOnDate=${ordersOnDate.length}', - ); // Sort by start time ordersOnDate.sort(