financial_type_id is not required for a premium product so may not be set in civicrm_...
authorMatthew Wire <devel@mrwire.co.uk>
Fri, 6 Jul 2018 21:21:20 +0000 (22:21 +0100)
committerMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Mon, 23 Jul 2018 16:58:38 +0000 (17:58 +0100)
commita275d4b6f3ad3826272b1018e69f9ce34b262bcf
tree8c9625b2d15a6e9543d2edff6c321146f4f6c6e4
parent1627fe66818f946881f6f955e7f338668b9b7beb
financial_type_id is not required for a premium product so may not be set in civicrm_premium_product. The filter for display should select those with a NULL financial_type as well as specific financial types.
CRM/Contribute/BAO/ManagePremiums.php
CRM/Contribute/BAO/Premium.php
CRM/Contribute/BAO/Product.php
CRM/Contribute/Form/ManagePremiums.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php
tests/phpunit/CRM/Contribute/BAO/ProductTest.php