Card expiry date and few small fixes

This commit is contained in:
Arseni
2026-01-12 21:24:58 +03:00
parent dedde76dd7
commit 0cb5101ed9
7 changed files with 57 additions and 5 deletions

View File

@@ -16,8 +16,8 @@ class CardPaymentMethod implements PaymentMethodData {
const CardPaymentMethod({
required this.pan,
this.expMonth,
this.expYear,
required this.expMonth,
required this.expYear,
required this.firstName,
required this.lastName,
this.country,

View File

@@ -165,6 +165,7 @@ class PermissionsProvider extends ChangeNotifier {
perm.Action? action,
Object? objectRef,
}) {
if (!_organizations.isOrganizationSet) return false;
final orgId = _organizations.current.id;
final pd = policyDescriptions.firstWhereOrNull(
(policy) =>