add quotes

This commit is contained in:
Phuoc Nguyen
2025-10-27 15:30:31 +07:00
parent 7ce4239772
commit 3020c4e626
8 changed files with 1177 additions and 4 deletions

View File

@@ -27,6 +27,9 @@ class HiveBoxNames {
/// Construction projects
static const String projectBox = 'project_box';
/// Quote requests and quotations
static const String quotes = 'quotes_box';
/// Loyalty program transactions and points history
static const String loyaltyBox = 'loyalty_box';
@@ -61,6 +64,7 @@ class HiveBoxNames {
cartBox,
orderBox,
projectBox,
quotes,
loyaltyBox,
rewardsBox,
settingsBox,

View File

@@ -17,6 +17,7 @@ import 'package:worker/features/orders/presentation/pages/payments_page.dart';
import 'package:worker/features/products/presentation/pages/product_detail_page.dart';
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';
/// App Router
///
@@ -156,6 +157,16 @@ class AppRouter {
},
),
// Quotes Route
GoRoute(
path: RouteNames.quotes,
name: RouteNames.quotes,
pageBuilder: (context, state) => MaterialPage(
key: state.pageKey,
child: const QuotesPage(),
),
),
// TODO: Add more routes as features are implemented
],