From ad48d47dedf9c5fe665fe48694b6f609b60bb53b Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Wed, 4 Feb 2026 09:01:05 -0500 Subject: [PATCH] feat: Update NEXT_SPRINT_TASKS with new tasks and modify ViewOrdersCubit to remove debug print statements --- apps/mobile/NEXT_SPRINT_TASKS.md | 2 ++ .../lib/src/presentation/blocs/view_orders_cubit.dart | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) 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(