Card expiry date and few small fixes
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user