You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING: Changed signature of \Crm\SubscriptionsModule\Repositories\SubscriptionsRepository::hasUserSubscriptionType() method. remp/crm#3129
Method preserves parameter userId, renames parameter subscriptionTypesCode to subscriptionTypeCode, renames parameter after to startTime, adds endTime parameter and removes parameter count.
Method checks if users has subscription of given subscription type starting after startTime parameter and ending before endTime parameter. If no datetime parameters provided, method uses no datetime boundaries.
If you used count parameter, you have to implement your own method because it was removed without replacement.
BREAKING: Renamed method SubscriptionsRepository::findDefaultForContentAccess to SubscriptionsRepository::findDefaultForLengthAndContentAccesses. remp/novydenik#1147
Added subscription_type_code parameter to /api/v1/subscriptions/create API endpoint. remp/crm#3051
Either subscription_type_id or subscription_type_code parameter must be filled.
Changed template variable $user to $userRow, fixing type mismatch in SubscriptionsAdminPresenter. remp/crm#3135
Added widget UserSubscriptionAddressWidget, containing address info extracted from subscription listing. remp/respekt#134
Changed condition in subscription form to allow same end_time as start_time (eg. when cancelling subscription manually). remp/crm#3158
Added subscriptionIsActiveOrInFuture method to SubscriptionsRepository. remp/crm#3031
Fixed ContentAccessRepository::usersWithAccessActiveBetween calculation, which returned incorrect results. remp/crm#3173
The calculation was used only at print subscribers activity dashboard, the impact should be minimal.
Added extracted implementation of SubscriptionScenarioConditionModel from Crm\ScenariosModule\Events\ConditionCheckEventHandler. remp/crm#1409