- Fixed a problem in the EMS calculating prices on tickets with a badge that
has an existing ribbon.
This commit is contained in:
parent
c8ce1c18f0
commit
6a289e060d
2 changed files with 3 additions and 1 deletions
|
|
@ -10,6 +10,8 @@
|
|||
- fixed: URLs that shouldn't happen (#10353)
|
||||
- Added more information output to EMS record importer.
|
||||
- Fixed a search tickets problem in the EMS badge builder template.
|
||||
- Fixed a problem in the EMS calculating prices on tickets with a badge that
|
||||
has an existing ribbon.
|
||||
- Fixed a search results display error with synopsis.
|
||||
- Fixed a load problem with Code Editor by making user toggle it on. This is
|
||||
better than normal anyway since many users appear not to want to use the
|
||||
|
|
|
|||
|
|
@ -346,7 +346,7 @@ sub getPrice {
|
|||
my $discount = 0;
|
||||
my $badgeId = $self->getOptions->{badgeId};
|
||||
my $ribbonId = $self->session->db->quickScalar("select ribbonAssetId from EMSRegistrantRibbon where badgeId=? limit 1",[$badgeId]);
|
||||
if (defined $ribbonId) {
|
||||
if (defined $ribbonId && isIn($ribbonId, @ribbonIds)) {
|
||||
my $ribbon = WebGUI::Asset->new($self->session,$ribbonId,'WebGUI::Asset::Sku::EMSRibbon');
|
||||
$discount = $ribbon->get('percentageDiscount');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue