feat(app): implement Product Scan review flow, dynamic batch expiry picker, custom PDFs, PO relationships, and aligned card layouts
This commit is contained in:
1 parent
9ff4a4a922
commit
577be04308
69 files changed
+5645
-1657
No files matched your search
@@ -6,6 +6,7 @@ import '../../features/auth/login_screen.dart';
|
||||
import '../../features/camera/camera_screen.dart';
|
||||
import '../../features/documents/documents_screen.dart';
|
||||
import '../../features/editor/editor_screen.dart';
|
||||
import '../../features/editor/product_editor_screen.dart';
|
||||
|
||||
final appRouterProvider = Provider<GoRouter>((ref) {
|
||||
return GoRouter(
|
||||
@@ -34,6 +35,13 @@ final appRouterProvider = Provider<GoRouter>((ref) {
|
||||
return EditorScreen(pendingId: pendingId);
|
||||
},
|
||||
),
|
||||
GoRoute(
|
||||
path: '/product-editor',
|
||||
builder: (context, state) {
|
||||
final pendingId = state.extra as String?;
|
||||
return ProductEditorScreen(pendingId: pendingId);
|
||||
},
|
||||
),
|
||||
],
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user