diff --git a/frontend/pshared/lib/models/resources.dart b/frontend/pshared/lib/models/resources.dart index d8ec453..41cdedf 100644 --- a/frontend/pshared/lib/models/resources.dart +++ b/frontend/pshared/lib/models/resources.dart @@ -1,5 +1,6 @@ import 'package:json_annotation/json_annotation.dart'; + /// Represents various resource types (mirroring your Go "Type" constants). enum ResourceType { /// Represents user accounts in the system @@ -75,6 +76,12 @@ enum ResourceType { @JsonValue('ledger_posing_lines') ledgerPostingLines, + @JsonValue('payments') + payments, + + @JsonValue('payment_methods') + paymentMethods, + /// Represents permissions service @JsonValue('permissions') permissions, diff --git a/frontend/pweb/lib/app/app.dart b/frontend/pweb/lib/app/app.dart index b34c3a2..47e6205 100644 --- a/frontend/pweb/lib/app/app.dart +++ b/frontend/pweb/lib/app/app.dart @@ -18,7 +18,7 @@ class PayApp extends StatelessWidget { @override Widget build(BuildContext context) => MaterialApp.router( - title: 'sendico', + title: 'Sendico', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Constants.themeColor), useMaterial3: true,