feat: Add event name to order items and refactor navigation and shift data access to use direct object properties.
This commit is contained in:
@@ -138,7 +138,7 @@ extension ClientNavigator on IModularNavigator {
|
||||
///
|
||||
/// This is the starting point for all order creation flows.
|
||||
void toCreateOrder({Object? arguments}) {
|
||||
pushNamed(ClientPaths.createOrder, arguments: arguments);
|
||||
navigate(ClientPaths.createOrder, arguments: arguments);
|
||||
}
|
||||
|
||||
/// Pushes the rapid order creation flow.
|
||||
@@ -175,9 +175,8 @@ extension ClientNavigator on IModularNavigator {
|
||||
|
||||
/// Navigates to the order details page to a specific date.
|
||||
void toOrdersSpecificDate(DateTime date) {
|
||||
pushNamedAndRemoveUntil(
|
||||
navigate(
|
||||
ClientPaths.orders,
|
||||
(_) => false,
|
||||
arguments: <String, DateTime>{'initialDate': date},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user