Commit Graph

14 Commits

Author SHA1 Message Date
Achintha Isuru
214e0d1237 feat: Implement order details retrieval for pre-filling new order forms for reordering. 2026-02-22 02:18:33 -05:00
Achintha Isuru
3aab5bfc26 feat: Allow pre-filling order creation forms with reorder data and update reorder navigation to directly open relevant order pages. 2026-02-22 01:37:49 -05:00
Achintha Isuru
96bb4c1bae refactor: Update navigation in order pages to use pop method for back action 2026-02-22 00:10:14 -05:00
Achintha Isuru
5865e3e596 refactor: modularize view orders page by extracting list, empty, and error states into dedicated widgets. 2026-02-21 21:22:53 -05:00
Achintha Isuru
83cf5db390 fix(view_order_card): simplify order type label styling 2026-02-21 21:03:28 -05:00
Achintha Isuru
269623ea15 feat: add OrderEditSheet for editing existing orders with detailed role and position management 2026-02-21 21:02:04 -05:00
Achintha Isuru
6de6661394 feat: add OrderType enum and integrate orderType in OrderItem and ViewOrdersCubit 2026-02-21 20:53:27 -05:00
Achintha Isuru
6e50369e17 refactor: remove OrderType entity and update order types to use UiOrderType 2026-02-21 20:29:59 -05:00
Achintha Isuru
9817dbeec8 feat(view_orders): enhance date navigation and improve ViewOrdersCubit instantiation 2026-02-21 20:14:57 -05:00
Achintha Isuru
71b5f743de feat: implement navigation to order details with specific date for one-time and recurring orders 2026-02-21 20:03:49 -05:00
Achintha Isuru
b2cfd93b8f refactor: remove recurring order widgets and related functionality
- Deleted RecurringOrderDatePicker, RecurringOrderEventNameInput, RecurringOrderHeader, RecurringOrderPositionCard, RecurringOrderSectionHeader, RecurringOrderSuccessView, and RecurringOrderView.
- Removed associated imports and references in the codebase.
- Updated pubspec.yaml to include client_orders_common dependency.
- Cleaned up the RapidOrderActions widget by removing debug print statement.
2026-02-21 19:36:23 -05:00
Achintha Isuru
0dc56d56ca feat: Add recurring order form components including date picker, event name input, header, position card, section header, success view, and main view logic
- Implemented RecurringOrderDatePicker for selecting start and end dates.
- Created RecurringOrderEventNameInput for entering the order name.
- Developed RecurringOrderHeader for displaying the title and subtitle with a back button.
- Added RecurringOrderPositionCard for editing individual positions in the order.
- Introduced RecurringOrderSectionHeader for section titles with optional action buttons.
- Built RecurringOrderSuccessView to show a success message after order creation.
- Integrated all components into RecurringOrderView to manage the overall order creation flow.
2026-02-21 19:25:07 -05:00
Achintha Isuru
376bb51647 feat: remove OrdersCommonModule and related navigation and presentation files 2026-02-21 19:16:25 -05:00
Achintha Isuru
b6f4d656dc feat(view_orders): implement View Orders feature with filter tabs and calendar navigation
- Added ViewOrdersFilterTab widget for displaying filter options with counts.
- Created ViewOrdersHeader widget to include a sticky header with title, filter tabs, and calendar controls.
- Established ViewOrdersModule for dependency injection of repositories, use cases, and BLoCs.
- Integrated ViewOrdersPage to handle initial date arguments for displaying orders.
- Updated pubspec.yaml with necessary dependencies for the View Orders feature.
2026-02-21 19:11:18 -05:00