Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
CiviDiscount
Commits
1c47efee
Commit
1c47efee
authored
Jun 29, 2014
by
Kurund Jalmi
Browse files
now only selected price fields are discount incase of non-quickconfig pricesets
parent
c2b5e542
Changes
1
Hide whitespace changes
Inline
Side-by-side
cividiscount.php
View file @
1c47efee
...
...
@@ -388,7 +388,7 @@ function cividiscount_civicrm_buildAmount($pagetype, &$form, &$amounts) {
//retrieve price set field associated with this priceset
$priceSetInfo
=
CRM_CiviDiscount_Utils
::
getPriceSetsInfo
(
$psid
);
if
(
$pagetype
==
'event'
)
{
if
(
$pagetype
==
'event'
&&
$isQuickConfigPriceSet
)
{
$discounts
[
$key
][
'pricesets'
]
=
array_combine
(
array_keys
(
$priceSetInfo
),
array_keys
(
$priceSetInfo
));
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment