Fixed an issue
Updated the logic for subscriptions and auto-renewal of membership cards.
Now, in both types of membership (with and without payment collection), when a subscription is canceled, the card becomes inactive after the paid period ends.
This is reflected in the user profile in the personal account, in the scanner, and on the card itself (the card will not display tier and limit fields, and the barcode/QR code will be inactive).
When the subscription is renewed, the card regains its fields, active barcode, active status in the personal account and scanner, and the ability to deduct/track visits.