Releases: remp2020/crm-family-module
Releases · remp2020/crm-family-module
2.0.0
- BREAKING: Changed PHP version requirement to 8.0. remp/crm#2519
- Fixed issue with subscription without the reference to family request. remp/crm#2349
- These subscriptions could be generated when request with different status than created was used (eg. it was activated by different actor between page load and request activation). Now responsible service and related API call
/api/v1/family/activate
return error.
- These subscriptions could be generated when request with different status than created was used (eg. it was activated by different actor between page load and request activation). Now responsible service and related API call
1.0.0
Changelog
- Changed translation files. remp/crm#2276
- Switch tabs to 4 spaces. Weblate can parse only YAML format (doesn't support tabs).
- Change extension from NEON to YML.
- Changed API handlers (non breaking). remp/crm#2342
- Changed return type of
handle()
fromCrm\ApiModule\Response\ApiResponseInterface
toTomaj\NetteApi\Response\ResponseInterface
. - Changed deprecated
Crm\ApiModule\Api\JsonResponse
toTomaj\NetteApi\Response\JsonApiResponse
.
- Changed return type of
Nette 3.0
- Changed
Compiler::loadDefinitions()
(deprecated) toCompilerExtension->loadDefinitionsFromConfig()
. remp/crm#1979 - Changed
nette/forms
method fromsetAttribute()
tosetHtmlAttribute()
. remp/crm#1979
Nette 3.1
- Changed
Nette\Forms
access to values from$form->values['form_field']
to$form->getValues()['form_field']
. remp/crm#1979 - Changed deprecated
Nette\Database
classes.Nette\Database\IRow
andNette\Database\Table\IRow
are deprecated. UsingNette\Database\Table\ActiveRow
instead. remp/crm#1979 - Changed deprecated
Nette\Localization\ITranslator
toNette\Localization\Translator
. remp/crm#1979
0.38.0
0.36.0
- BREAKING: Removed unused table
family_subscriptions
. It was merged withfamily_requests
and marked as deprecated in version 0.30.0 (remp/crm#1681). remp/crm#2094 - Fixed missing javascript to activate confirmation dialog when
data-confirm
is set. This JS is originally part ofadmin.js
which is not loaded in customer zone. remp/helpdesk#869 - Fixed "generous" cancelling of child family subscriptions. remp/helpdesk#869
- Repeated clicks to stop child family subscription always cancelled the same child subscription. But it generated a new (replacement) child subscription in the background until system redirected user to list of subscriptions. Quick repeated clicking on button could generate dozens of unpaid subscriptions.
0.35.0
0.34.0
- Added new widget
FamilySubscriptionTypeDetailsWidget
which renders details of family/company subscription type in CRM admin. remp/crm#1855- It is attached to place
subscription_types_admin.show.right
- For parent subscription type widget renders settings of company subscription and link to child subscriptions. For child subscription type widget renders links to parent company subscription types.
- It is attached to place
0.31.0
- Fixed documentation link to
FamilyRequestsListWidget
. remp/crm#1857 - Added
note
column tofamily_requests
table. remp/crm#1357 - Added
SubscriptionShortenedHandler
to handleSubscriptionShortenedEvent
. In case of slave subscription, related family request is cancelled and new one is generated. In case of master subscription, all slave subscriptions are stopped. remp/crm#1820