New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obsidian Event Registration - Fee options available when none remaining #5408
Comments
I can confirm that his bug still exists in v15. We have had this issue for a while with Fees. |
Note: Fee options remain available even after the maximum available quantity has been reached by existing registrations. The presence of this bug is not based the amount of the fee. It appears when the fee is $0 as well as when the fee is > $0. |
Hello, we are also experiencing this issue in our Rock instance and we are on v15.1. I did some investigating and it looks like the obsidian Registration Entry block is not filtering out any of the fees. The fees come from the viewModel property in the block. Rock/Rock.JavaScript.Obsidian.Blocks/src/Event/RegistrationEntry/registrant.partial.ts Line 463 in 1e1558e
So in this screenshot, you can see the <template v-for="fee in viewModel.fees" :key="fee.guid">
<template v-if="fee.countRemaining > 0">
... same content
</template>
</template> or computed: {
filteredFees() {
// something similar to this
return this.viewModel.fees.filter(fee => fee.countRemaining > 0);
}
}
<template v-for="fee in filteredFees" :key="fee.guid">
... same content
</template> Keep in mind, this two solutions are targeting |
I was also looking into how to fix this myself and I went with the option of using Example:
I added |
…tiple Quantity where the Maximum available property was not being used on registrations that occur after the registration that used up the remaining number of fees. (Partial fix for #5408)
The issue is slightly different depending on the configuration of the fee. Single Option Single Option, Enable Quantity Multiple Option Multiple Option, Enable Quantity Hide When None Remaining Fixed in commits: |
Please go through all the tasks below
Please provide a brief description of the problem. Please do not forget to attach the relevant screenshots from your side.
The Obsidian Registration Block continues to allow fees to be selected after no more are available & where there is no actual fee displays ($0.00)
This happens for single and multiple fee types & when hide when no more available is checked (& allow more than 1)
Expected Behavior
Expected Behavior as per the previous registration block where the fees are greyed out and unavailable when the maximum available has been reached. Also where there is no fee no $ amount should be shown.
Actual Behavior
Actual Behavior
The Obsidian Registration Block continues to allow fees to be selected after no more are available & where there is no actual fee it displays ($0.00)
Steps to Reproduce
On the demo site either create a registration event with optional fees, limit the fees so the maximum can be reached (eg 1) or set to 0 available, or use the summer camp event registration.
Duplicate the registration page (under CMS),set the page URL to eg regobsidian & replace the registration block with the Obsidian Registration Block
View the registration instance while using the Obsidian registration Entry block https://rock.rocksolidchurchdemo.com/regobsidian?RegistrationInstanceId=1 & also from the regular registraion block
https://rock.rocksolidchurchdemo.com/Registration?RegistrationInstanceId=1
Rock Version
Rock McKinley 14.2 (1.14.2.1)
Client Culture Setting
en-US
The text was updated successfully, but these errors were encountered: