add price policy

This commit is contained in:
Phuoc Nguyen
2025-11-03 11:20:09 +07:00
parent c0527a086c
commit 21c1c3372c
53 changed files with 7160 additions and 2361 deletions

View File

@@ -20,6 +20,7 @@ import 'package:worker/features/products/presentation/pages/product_detail_page.
import 'package:worker/features/products/presentation/pages/products_page.dart';
import 'package:worker/features/promotions/presentation/pages/promotion_detail_page.dart';
import 'package:worker/features/quotes/presentation/pages/quotes_page.dart';
import 'package:worker/features/price_policy/price_policy.dart';
/// App Router
///
@@ -189,6 +190,16 @@ class AppRouter {
),
),
// Price Policy Route
GoRoute(
path: RouteNames.pricePolicy,
name: RouteNames.pricePolicy,
pageBuilder: (context, state) => MaterialPage(
key: state.pageKey,
child: const PricePolicyPage(),
),
),
// TODO: Add more routes as features are implemented
],
@@ -308,6 +319,9 @@ class RouteNames {
static const String promotionDetail = '/promotions/:id';
static const String notifications = '/notifications';
// Price Policy Route
static const String pricePolicy = '/price-policy';
// Chat Route
static const String chat = '/chat';