-
- Downloads
[REF] Move membership date calc from v3 api to BAO
This moves code to calculate membership dates for new memberships from the v3 api Membership.create and the batch entry membership form to the membership bao. I think more cleanup could follow this - in the api most obviously and the BAO is a bit insane still This has test cover in the v3 api membership test and in CRM_Batch_Form_EntryTest
Showing
- CRM/Batch/Form/Entry.php 9 additions, 12 deletionsCRM/Batch/Form/Entry.php
- CRM/Member/BAO/Membership.php 26 additions, 10 deletionsCRM/Member/BAO/Membership.php
- api/v3/Membership.php 6 additions, 16 deletionsapi/v3/Membership.php
- tests/phpunit/api/v3/MembershipTest.php 3 additions, 1 deletiontests/phpunit/api/v3/MembershipTest.php
Loading
Please register or sign in to comment