reports page
This commit is contained in:
@@ -33,6 +33,7 @@ import 'package:pweb/pages/dashboard/dashboard.dart';
|
||||
import 'package:pweb/pages/invitations/page.dart';
|
||||
import 'package:pweb/pages/payment_methods/page.dart';
|
||||
import 'package:pweb/pages/payout_page/wallet/edit/page.dart';
|
||||
import 'package:pweb/pages/report/details/page.dart';
|
||||
import 'package:pweb/pages/report/page.dart';
|
||||
import 'package:pweb/pages/settings/profile/page.dart';
|
||||
import 'package:pweb/pages/wallet_top_up/page.dart';
|
||||
@@ -292,6 +293,17 @@ RouteBase payoutShellRoute() => ShellRoute(
|
||||
pageBuilder: (_, _) =>
|
||||
const NoTransitionPage(child: OperationHistoryPage()),
|
||||
),
|
||||
GoRoute(
|
||||
name: PayoutRoutes.reportPayment,
|
||||
path: PayoutRoutes.reportPaymentPath,
|
||||
pageBuilder: (_, state) => NoTransitionPage(
|
||||
child: PaymentDetailsPage(
|
||||
paymentId: state.uri.queryParameters[
|
||||
PayoutRoutes.reportPaymentIdQuery] ??
|
||||
'',
|
||||
),
|
||||
),
|
||||
),
|
||||
GoRoute(
|
||||
name: PayoutRoutes.methods,
|
||||
path: PayoutRoutes.methodsPath,
|
||||
|
||||
Reference in New Issue
Block a user