feat: implement navigation to order details with specific date for one-time and recurring orders

This commit is contained in:
Achintha Isuru
2026-02-21 20:03:49 -05:00
parent b2cfd93b8f
commit 71b5f743de
4 changed files with 160 additions and 84 deletions

View File

@@ -168,4 +168,16 @@ extension ClientNavigator on IModularNavigator {
void toCreateOrderPermanent() {
pushNamed(ClientPaths.createOrderPermanent);
}
// ==========================================================================
// VIEW ORDER
// ==========================================================================
/// Navigates to the order details page to a specific date.
void toOrdersSpecificDate(DateTime date) {
navigate(
ClientPaths.orders,
arguments: <String, DateTime>{'initialDate': date},
);
}
}