civicrm-core.git
12 months agoFix conditional
César [Fri, 24 Nov 2023 12:00:09 +0000 (13:00 +0100)]
Fix conditional

12 months agoMerge pull request #28296 from eileenmcnaughton/tax
Eileen McNaughton [Fri, 24 Nov 2023 04:04:47 +0000 (17:04 +1300)]
Merge pull request #28296 from eileenmcnaughton/tax

Fix notice on unassigned tax

12 months agoMerge pull request #28292 from eileenmcnaughton/main_am
colemanw [Fri, 24 Nov 2023 02:55:04 +0000 (21:55 -0500)]
Merge pull request #28292 from eileenmcnaughton/main_am

Clean up `getMainContributionAmount()` function

12 months agoFix notice on unassigned tax
Eileen McNaughton [Fri, 24 Nov 2023 02:25:06 +0000 (15:25 +1300)]
Fix notice on unassigned tax

12 months agoMerge pull request #28281 from eileenmcnaughton/part
colemanw [Fri, 24 Nov 2023 01:36:41 +0000 (20:36 -0500)]
Merge pull request #28281 from eileenmcnaughton/part

Use local variable rather than undefined property to build array

12 months agoMerge pull request #28284 from eileenmcnaughton/renew
colemanw [Fri, 24 Nov 2023 01:34:57 +0000 (20:34 -0500)]
Merge pull request #28284 from eileenmcnaughton/renew

Minor consolidation on `isTest()`

12 months agoMerge pull request #28290 from braders/loaded-mapping-id
Eileen McNaughton [Fri, 24 Nov 2023 00:19:50 +0000 (13:19 +1300)]
Merge pull request #28290 from braders/loaded-mapping-id

[REF][PHP8.2] Remove unused property $_loadedMappingId

12 months agoClean up getMainContributionAmount() function
Eileen McNaughton [Thu, 23 Nov 2023 23:40:16 +0000 (12:40 +1300)]
Clean up getMainContributionAmount() function

12 months agoMerge pull request #28287 from eileenmcnaughton/current_membership
Eileen McNaughton [Thu, 23 Nov 2023 22:48:50 +0000 (11:48 +1300)]
Merge pull request #28287 from eileenmcnaughton/current_membership

Extract code that defines the renewal membership

12 months ago[REF][PHP8.2] Remove unused property $_loadedMappingId
Bradley Taylor [Thu, 23 Nov 2023 21:46:52 +0000 (21:46 +0000)]
[REF][PHP8.2] Remove unused property $_loadedMappingId

12 months agoMerge pull request #28288 from eileenmcnaughton/address_opps
Matthew Wire [Thu, 23 Nov 2023 21:36:06 +0000 (21:36 +0000)]
Merge pull request #28288 from eileenmcnaughton/address_opps

Fix recently-merged typo

12 months agoMerge pull request #28166 from eileenmcnaughton/part_send
Matthew Wire [Thu, 23 Nov 2023 21:35:08 +0000 (21:35 +0000)]
Merge pull request #28166 from eileenmcnaughton/part_send

Update send_receipt once actually sent, rather than predicting

12 months agoFix recently-merged typo
Eileen McNaughton [Thu, 23 Nov 2023 21:34:45 +0000 (10:34 +1300)]
Fix recently-merged typo

12 months agoExtract code that defines the renewal membership
Eileen McNaughton [Thu, 23 Nov 2023 21:16:27 +0000 (10:16 +1300)]
Extract code that defines the renewal membership

12 months agoMerge pull request #28021 from colemanw/afformErrorMsg
Matthew Wire [Thu, 23 Nov 2023 21:04:27 +0000 (21:04 +0000)]
Merge pull request #28021 from colemanw/afformErrorMsg

Afform - improve display of error messages

12 months agoMerge pull request #28115 from colemanw/chainSelectFix
Matthew Wire [Thu, 23 Nov 2023 21:03:01 +0000 (21:03 +0000)]
Merge pull request #28115 from colemanw/chainSelectFix

dev/core#4702 - Fix country/state chainSelect validation when country is deselected

12 months agoMerge pull request #28226 from eileenmcnaughton/no_billing
Matthew Wire [Thu, 23 Nov 2023 20:58:01 +0000 (20:58 +0000)]
Merge pull request #28226 from eileenmcnaughton/no_billing

Stop passing billingID to `CRM_Utils_Address::getFormattedBillingAddressFieldsFromParameters`

12 months agoMerge pull request #28280 from eileenmcnaughton/billing
Matthew Wire [Thu, 23 Nov 2023 20:55:29 +0000 (20:55 +0000)]
Merge pull request #28280 from eileenmcnaughton/billing

Use function for getBillingID() rather than relying on form property

12 months agoMerge pull request #28279 from mlutfy/recurringRequired
Matthew Wire [Thu, 23 Nov 2023 20:54:15 +0000 (20:54 +0000)]
Merge pull request #28279 from mlutfy/recurringRequired

Recurring Activity: avoid validation if the fieldset is visible but not used

12 months agoMerge pull request #28235 from eileenmcnaughton/test_clean
Matthew Wire [Thu, 23 Nov 2023 20:53:16 +0000 (20:53 +0000)]
Merge pull request #28235 from eileenmcnaughton/test_clean

Minor test clean up

12 months agoMinor consolidation on isTest()
Eileen McNaughton [Thu, 23 Nov 2023 20:28:24 +0000 (09:28 +1300)]
Minor consolidation on isTest()

I think this makes sense as a publicly supported function we should consolidate in as many forms
as possible

12 months agoMerge pull request #28261 from eileenmcnaughton/prod
Seamus Lee [Thu, 23 Nov 2023 20:23:45 +0000 (07:23 +1100)]
Merge pull request #28261 from eileenmcnaughton/prod

Add Premium Product v4 api

12 months agoMerge pull request #28270 from colemanw/civiCaseCleanup
demeritcowboy [Thu, 23 Nov 2023 20:17:31 +0000 (15:17 -0500)]
Merge pull request #28270 from colemanw/civiCaseCleanup

CiviCase - Clear value before reusing editCaseRoleDialog

12 months agoMerge pull request #28221 from eileenmcnaughton/price_set
colemanw [Thu, 23 Nov 2023 19:31:07 +0000 (14:31 -0500)]
Merge pull request #28221 from eileenmcnaughton/price_set

Fix always present parameter

12 months agoAdd pseudoconstant look up for entity tables
Eileen McNaughton [Thu, 23 Nov 2023 19:04:14 +0000 (08:04 +1300)]
Add pseudoconstant look up for entity tables

Per the code comment only contribution page

12 months agoCiviCase - Simplify overcomplicated code that hides inactive roles
colemanw [Wed, 22 Nov 2023 20:09:07 +0000 (15:09 -0500)]
CiviCase - Simplify overcomplicated code that hides inactive roles

12 months agoAdd premium api
Eileen McNaughton [Tue, 21 Nov 2023 20:47:55 +0000 (09:47 +1300)]
Add premium api

12 months agoAdd Premium Product v4 api
Eileen McNaughton [Tue, 21 Nov 2023 08:01:38 +0000 (21:01 +1300)]
Add Premium Product v4 api

12 months agoUse local variable rather than undefined property to build array
Eileen McNaughton [Thu, 23 Nov 2023 18:41:35 +0000 (07:41 +1300)]
Use local variable rather than undefined property to build array

This variable is specific to the function it lives in

12 months agoUse function for getBillingID() rather than relying on form property
Eileen McNaughton [Thu, 23 Nov 2023 18:36:13 +0000 (07:36 +1300)]
Use function for getBillingID() rather than relying on form property

12 months agoMerge pull request #28229 from sunilpawar/dev_contactID_reminder
demeritcowboy [Thu, 23 Nov 2023 17:27:36 +0000 (12:27 -0500)]
Merge pull request #28229 from sunilpawar/dev_contactID_reminder

Pass contact id to sendmail function

12 months agoRecurring Activity: avoid validation if the fieldset is visible but not used
Mathieu Lu [Thu, 23 Nov 2023 16:44:35 +0000 (11:44 -0500)]
Recurring Activity: avoid validation if the fieldset is visible but not used

12 months agoCorrect contact ID name
Sunil Pawar [Thu, 23 Nov 2023 16:13:54 +0000 (21:43 +0530)]
Correct contact ID name

12 months agoMerge pull request #28254 from eileenmcnaughton/premium_deduct_more
Aidan Saunders [Thu, 23 Nov 2023 09:45:08 +0000 (09:45 +0000)]
Merge pull request #28254 from eileenmcnaughton/premium_deduct_more

Unshare toxic function `getContributionParams()`

12 months agoMerge pull request #28275 from colemanw/isDeleted
Aidan Saunders [Thu, 23 Nov 2023 09:37:39 +0000 (09:37 +0000)]
Merge pull request #28275 from colemanw/isDeleted

AdminUI - Remove deleted contacts from group count

12 months agoMerge pull request #28274 from colemanw/searchBuilderNotice
Aidan Saunders [Thu, 23 Nov 2023 09:33:52 +0000 (09:33 +0000)]
Merge pull request #28274 from colemanw/searchBuilderNotice

SearchBuilder - Add deprecation notice to users

12 months agoMerge pull request #28256 from eileenmcnaughton/get_tax_details
Aidan Saunders [Thu, 23 Nov 2023 09:24:18 +0000 (09:24 +0000)]
Merge pull request #28256 from eileenmcnaughton/get_tax_details

Fix getTaxDetails notices on Confirm page

12 months agoMerge pull request #28271 from eileenmcnaughton/payment_function
Eileen McNaughton [Thu, 23 Nov 2023 08:18:19 +0000 (21:18 +1300)]
Merge pull request #28271 from eileenmcnaughton/payment_function

dev/core#4798 Fixes to functions to determine if isMembership, isSeparatePayment

12 months agoFix test to have correct input params
Eileen McNaughton [Thu, 23 Nov 2023 00:22:35 +0000 (13:22 +1300)]
Fix test to have correct input params

The test was exploiting a code gremlin which did not
require the right submitted values to be set to trigger
a secondary contribution - this fixed.

other_amount is not a real field as the presented field is always price_x

12 months agoMerge pull request #28257 from wmortada/core#4791
demeritcowboy [Thu, 23 Nov 2023 03:24:06 +0000 (22:24 -0500)]
Merge pull request #28257 from wmortada/core#4791

dev/core#4791 - Set cache folder for dompdf

12 months agoAdminUI - Remove deleted contacts from group count
colemanw [Thu, 23 Nov 2023 03:14:44 +0000 (22:14 -0500)]
AdminUI - Remove deleted contacts from group count

Fixes https://lab.civicrm.org/dev/core/-/issues/4792

12 months agoSearchBuilder - Add deprecation notice to users
colemanw [Thu, 23 Nov 2023 03:08:51 +0000 (22:08 -0500)]
SearchBuilder - Add deprecation notice to users

12 months agoFixes to functions to determine if isMembership, isSeparatePayment
Eileen McNaughton [Wed, 22 Nov 2023 22:49:13 +0000 (11:49 +1300)]
Fixes to functions to determine if isMembership, isSeparatePayment

In the case of isSeparatePayment we have a function to determine if the form
supports separate payments - but are using this interchangeably with whether the
user has selected more than one option (if they only selected 1 there is only 1 payment)

12 months agoMerge pull request #28264 from eileenmcnaughton/lines
colemanw [Wed, 22 Nov 2023 20:04:29 +0000 (15:04 -0500)]
Merge pull request #28264 from eileenmcnaughton/lines

[LineItem cleanup] Standardise a couple of calls to get values from the line items

12 months agoCiviCase - Clear value before reusing editCaseRoleDialog
colemanw [Wed, 22 Nov 2023 19:35:25 +0000 (14:35 -0500)]
CiviCase - Clear value before reusing editCaseRoleDialog

12 months agoMerge pull request #28269 from eileenmcnaughton/thank
colemanw [Wed, 22 Nov 2023 19:12:25 +0000 (14:12 -0500)]
Merge pull request #28269 from eileenmcnaughton/thank

Superficial cleanup in Contribution Thank You form

12 months agoMerge pull request #28266 from eileenmcnaughton/line_member
colemanw [Wed, 22 Nov 2023 14:07:08 +0000 (09:07 -0500)]
Merge pull request #28266 from eileenmcnaughton/line_member

[LineItem cleanup] Clean up & clarify code splitting line items in Contribution page membership flow

12 months agoMerge pull request #28258 from christianwach/lab-core-4735
Mathieu Lu [Wed, 22 Nov 2023 13:46:50 +0000 (08:46 -0500)]
Merge pull request #28258 from christianwach/lab-core-4735

Use currentPath method to build QuickForm post URL

12 months agoSet cache folder for dompdf
William Mortada [Tue, 21 Nov 2023 10:22:52 +0000 (10:22 +0000)]
Set cache folder for dompdf

12 months agoMerge pull request #28240 from eileenmcnaughton/standardise
colemanw [Wed, 22 Nov 2023 00:19:46 +0000 (19:19 -0500)]
Merge pull request #28240 from eileenmcnaughton/standardise

Online membership receipt simplification

12 months agoMerge pull request #28267 from eileenmcnaughton/property
colemanw [Wed, 22 Nov 2023 00:19:08 +0000 (19:19 -0500)]
Merge pull request #28267 from eileenmcnaughton/property

Replace ref to undeclared property with tax-inclusive lookup

12 months agoClean up & clarify code splitting line items in Contribution page membership flow
Eileen McNaughton [Tue, 21 Nov 2023 21:53:46 +0000 (10:53 +1300)]
Clean up & clarify code splitting line items in Contribution page membership flow

It was really confusing - but now it is separated into a function which explains it

Note there is specic test cover in
testSubmitMembershipComplexPriceSetPaymentPaymentProcessorRecurInstantPayment
and the changes to that test reflects the fact that the order in which
the line items are created changes slightly (in a fundamentally neutral way

12 months agoSuperficial cleanup in Contribution THank You form
Eileen McNaughton [Tue, 21 Nov 2023 23:35:07 +0000 (12:35 +1300)]
Superficial cleanup in Contribution THank You form

12 months agoReplace ref to undeclared property with tax-inclusive lookup
Eileen McNaughton [Tue, 21 Nov 2023 22:31:10 +0000 (11:31 +1300)]
Replace ref to undeclared property with tax-inclusive lookup

12 months agoStandardise a couple of calls to get values from the line items
Eileen McNaughton [Tue, 21 Nov 2023 19:52:23 +0000 (08:52 +1300)]
Standardise a couple of calls to get values from the line items

12 months agoMerge pull request #28265 from civicrm/5.68
Eileen McNaughton [Tue, 21 Nov 2023 21:32:35 +0000 (10:32 +1300)]
Merge pull request #28265 from civicrm/5.68

5.68

12 months agoMerge pull request #28220 from eileenmcnaughton/membership_log
Mathieu Lu [Tue, 21 Nov 2023 21:29:30 +0000 (16:29 -0500)]
Merge pull request #28220 from eileenmcnaughton/membership_log

Add Membership log entity

12 months agoMerge pull request #28238 from eileenmcnaughton/premium
Mathieu Lu [Tue, 21 Nov 2023 21:24:44 +0000 (16:24 -0500)]
Merge pull request #28238 from eileenmcnaughton/premium

[Premiums] Fix access to undeclared property, remove unreachable code

12 months agoMerge pull request #28250 from eileenmcnaughton/premium_2
Mathieu Lu [Tue, 21 Nov 2023 21:18:15 +0000 (16:18 -0500)]
Merge pull request #28250 from eileenmcnaughton/premium_2

Fix notices on manage premiums page

12 months agoMerge pull request #28246 from eileenmcnaughton/profile
demeritcowboy [Tue, 21 Nov 2023 20:35:34 +0000 (15:35 -0500)]
Merge pull request #28246 from eileenmcnaughton/profile

dev/core#4766 Fix event merging profiles together

12 months agoMerge pull request #28224 from eileenmcnaughton/remove_unused
colemanw [Tue, 21 Nov 2023 19:25:33 +0000 (14:25 -0500)]
Merge pull request #28224 from eileenmcnaughton/remove_unused

Remove unused property from previously shared code `_membershipTypeValues`

12 months agoA couple more minor fixes
Eileen McNaughton [Tue, 21 Nov 2023 00:15:11 +0000 (13:15 +1300)]
A couple more minor fixes

12 months agoOnline membership receipt simplification
Eileen McNaughton [Tue, 21 Nov 2023 00:13:15 +0000 (13:13 +1300)]
Online membership receipt simplification

Rather than having one section in an IF for the scenario where we have a separate payment situation
but there is no contribution payment, consolidate this scenario with the general 'we
have a membership but no contribution in the receipt

12 months agoFix event merging profiles together
Eileen McNaughton [Tue, 21 Nov 2023 02:37:01 +0000 (15:37 +1300)]
Fix event merging profiles together

https://lab.civicrm.org/dev/core/-/issues/4766

12 months agoUse currentPath method to build QuickForm post URL
Christian Wach [Tue, 21 Nov 2023 14:22:28 +0000 (14:22 +0000)]
Use currentPath method to build QuickForm post URL

12 months agoMerge pull request #28253 from eileenmcnaughton/premium_deduct
colemanw [Tue, 21 Nov 2023 13:39:07 +0000 (08:39 -0500)]
Merge pull request #28253 from eileenmcnaughton/premium_deduct

Unshared toxic function `getNonDeductibleAmount()`

12 months agoMerge pull request #28215 from eileenmcnaughton/amount_level
colemanw [Tue, 21 Nov 2023 13:14:28 +0000 (08:14 -0500)]
Merge pull request #28215 from eileenmcnaughton/amount_level

Stop setting unused key

12 months agoMerge pull request #28234 from eileenmcnaughton/line_pass
colemanw [Tue, 21 Nov 2023 13:14:12 +0000 (08:14 -0500)]
Merge pull request #28234 from eileenmcnaughton/line_pass

Reduce passing of `lineItems`

12 months agoMerge pull request #28211 from eileenmcnaughton/smarty3
colemanw [Tue, 21 Nov 2023 13:13:40 +0000 (08:13 -0500)]
Merge pull request #28211 from eileenmcnaughton/smarty3

Use token to avoid breaky-smarty3-maths

12 months agoMerge pull request #28214 from eileenmcnaughton/message_improve
colemanw [Tue, 21 Nov 2023 13:13:11 +0000 (08:13 -0500)]
Merge pull request #28214 from eileenmcnaughton/message_improve

Improve test output message

12 months agoMerge pull request #28222 from eileenmcnaughton/current_member
colemanw [Tue, 21 Nov 2023 13:12:50 +0000 (08:12 -0500)]
Merge pull request #28222 from eileenmcnaughton/current_member

Replace undefined property `_currentMemberships` with a define

12 months agoMerge pull request #28227 from eileenmcnaughton/express
colemanw [Tue, 21 Nov 2023 13:11:53 +0000 (08:11 -0500)]
Merge pull request #28227 from eileenmcnaughton/express

Declare property from paypal express as public

12 months agoMerge pull request #28233 from eileenmcnaughton/second
colemanw [Tue, 21 Nov 2023 13:11:39 +0000 (08:11 -0500)]
Merge pull request #28233 from eileenmcnaughton/second

Clarify which line items are passed in` processSecondaryMembership`

12 months agoMerge pull request #28232 from eileenmcnaughton/assign
colemanw [Tue, 21 Nov 2023 13:11:17 +0000 (08:11 -0500)]
Merge pull request #28232 from eileenmcnaughton/assign

Remove assignments for template that are not needed for updated template

12 months agoMerge pull request #28252 from eileenmcnaughton/thank_notice
colemanw [Tue, 21 Nov 2023 13:09:41 +0000 (08:09 -0500)]
Merge pull request #28252 from eileenmcnaughton/thank_notice

Extend line item notice fix from Confirm to Thank you page

12 months agoFix getTaxDetails notices on Confirm page
Eileen McNaughton [Tue, 21 Nov 2023 06:26:55 +0000 (19:26 +1300)]
Fix getTaxDetails notices on Confirm page

12 months agoMerge pull request #28247 from civicrm/5.68
Eileen McNaughton [Tue, 21 Nov 2023 06:05:24 +0000 (19:05 +1300)]
Merge pull request #28247 from civicrm/5.68

5.68

12 months agoUnshare another toxic function
Eileen McNaughton [Tue, 21 Nov 2023 05:37:55 +0000 (18:37 +1300)]
Unshare another toxic function

12 months agoUnshared toxic function getNonDeductibleAmount
Eileen McNaughton [Tue, 21 Nov 2023 05:29:07 +0000 (18:29 +1300)]
Unshared toxic function getNonDeductibleAmount

12 months agoExtend line item notice fix from Confirm to Thank you page
Eileen McNaughton [Tue, 21 Nov 2023 05:22:32 +0000 (18:22 +1300)]
Extend line item notice fix from Confirm to Thank you page

12 months agoMerge pull request #28251 from eileenmcnaughton/fix_regress
Eileen McNaughton [Tue, 21 Nov 2023 05:16:04 +0000 (18:16 +1300)]
Merge pull request #28251 from eileenmcnaughton/fix_regress

Fix regression on line item display on thank you

12 months agoFix regression on line item display on thank you
Eileen McNaughton [Tue, 21 Nov 2023 05:15:13 +0000 (18:15 +1300)]
Fix regression on line item display on thank you

12 months agoFix notices on manage premiums page
Eileen McNaughton [Tue, 21 Nov 2023 04:55:36 +0000 (17:55 +1300)]
Fix notices on manage premiums page

This addresses notices at
https://dmaster.localhost:32353/civicrm/admin/contribute/managePremiums?reset=1

These are probably also addressed by the admin ui / sk conversion but note that this also
covers the tab on the contribution page

Note that combined with https://github.com/civicrm/civicrm-core/pull/28238
this fixes most of the issues I encountered trying to configure a premimum
but there are still a bunch of notices when I attempt to use one.

Also, having switched to using apiv4 I have added some tpl escaping

12 months agoMerge pull request #28244 from eileenmcnaughton/568
demeritcowboy [Tue, 21 Nov 2023 04:03:02 +0000 (23:03 -0500)]
Merge pull request #28244 from eileenmcnaughton/568

Fix reference to wrong value

12 months agoMerge pull request #28243 from demeritcowboy/lost-time
Eileen McNaughton [Tue, 21 Nov 2023 02:13:10 +0000 (15:13 +1300)]
Merge pull request #28243 from demeritcowboy/lost-time

dev/financial#221 - Bring back missing time field

12 months agoFix reference to wrong value
Eileen McNaughton [Tue, 21 Nov 2023 01:37:20 +0000 (14:37 +1300)]
Fix reference to wrong value

12 months agoMerge pull request #28241 from civicrm/5.68
Eileen McNaughton [Tue, 21 Nov 2023 01:33:33 +0000 (14:33 +1300)]
Merge pull request #28241 from civicrm/5.68

5.68

12 months agobring back time field
demeritcowboy [Tue, 21 Nov 2023 01:18:10 +0000 (20:18 -0500)]
bring back time field

12 months agoMerge pull request #28239 from eileenmcnaughton/568_prod
demeritcowboy [Tue, 21 Nov 2023 00:54:14 +0000 (19:54 -0500)]
Merge pull request #28239 from eileenmcnaughton/568_prod

Fix regression in 5.68 on selecting a premium (when at least one is unavailable)

12 months agoMerge pull request #28237 from eileenmcnaughton/568
demeritcowboy [Tue, 21 Nov 2023 00:42:51 +0000 (19:42 -0500)]
Merge pull request #28237 from eileenmcnaughton/568

Add weight to premium config (tab on contribution page edit)

12 months agoFix regression in 5.68 on premium
Eileen McNaughton [Mon, 20 Nov 2023 23:07:27 +0000 (12:07 +1300)]
Fix regression in 5.68 on premium

12 months agoSingle appears to be never true on this form too
Eileen McNaughton [Mon, 20 Nov 2023 22:59:19 +0000 (11:59 +1300)]
Single appears to be never true on this form too

12 months agoFix access to undeclared property, remove unreachable code
Eileen McNaughton [Mon, 20 Nov 2023 22:39:34 +0000 (11:39 +1300)]
Fix access to undeclared property, remove unreachable code

12 months agoAdd weight to premium config (tab on contribution page edit)
Eileen McNaughton [Mon, 20 Nov 2023 22:33:40 +0000 (11:33 +1300)]
Add weight to premium config (tab on contribution page edit)

12 months agoMerge pull request #28236 from civicrm/5.68
Eileen McNaughton [Mon, 20 Nov 2023 22:25:29 +0000 (11:25 +1300)]
Merge pull request #28236 from civicrm/5.68

5.68 to master

12 months agoMerge pull request #28231 from agh1/5.68.0-releasenotes-initial
Eileen McNaughton [Mon, 20 Nov 2023 22:05:38 +0000 (11:05 +1300)]
Merge pull request #28231 from agh1/5.68.0-releasenotes-initial

5.68.0 release notes initial run

12 months agoMinor test clean up
Eileen McNaughton [Mon, 20 Nov 2023 21:35:27 +0000 (10:35 +1300)]
Minor test clean up

The test is calling preProcess so doesn't need these hacks

12 months agoReduce passing of lineItems
Eileen McNaughton [Mon, 20 Nov 2023 21:29:51 +0000 (10:29 +1300)]
Reduce passing of lineItems

The get() function is called when setting the order line items so calling getLineItems()
will return the same thing. The value passed as formLineItems is simply the value
from getLineItems() so rather than pass it get it at the point where it is needed

12 months agoClarify which line items are passed in processSecondaryMembership
Eileen McNaughton [Mon, 20 Nov 2023 21:14:33 +0000 (10:14 +1300)]
Clarify which line items are passed in processSecondaryMembership

It has traditionally been very confusing what the line items are when they get to
this point - but now we have a function that gets them so call it at the point when needed rather than
pass the array around

12 months agoRemove more assignments & create some noise
Eileen McNaughton [Mon, 20 Nov 2023 21:08:36 +0000 (10:08 +1300)]
Remove more assignments & create some noise