GO TO: CONSTANTS TAB
Step 1
Most communities already have a constant that names what a printed pass is called. It is often called: #PRINTED_PASS_NAME
Confirm or add the constant...
- Constant Name: PRINTED_PASS_NAME
- Value (don't forget the quotes): "Classic Pass"
- Description: Name the pass choice that triggers pass printing. The name must start with, "Classic", "Initial", "New", "Replacement", "Mail", "Card", or "Identification".
Note: We're also going to use two additional constant's already in your count. No adjustments needed with the following two.
- The constant that uses AGS's pass printing fee: #COM_PASS_FIX
- The constant that closely matches AGS's mailing and processing fee: #AGS_CLOSELY_MATCH_PRINT_AND_MAIL_FEES
GO TO: CALCULATIONS TAB
Step 2
Most communities already have a calculation that counts the number of printed passes. It is often called: {PassCount}
Confirm, add, or adjust the calculation...
- Result Name: {PassCount}
- Expression: Write a calculation determines how many passes will be printed.
- If you are only printing passes for normal members, the expression is: countIfEq("patronPrintPass",str(#PRINTED_PASS_NAME))
- If you are pringing passes for normal and limited members, the expression is: countIfEq("patronPrintPass",str(#PRINTED_PASS_NAME))+countIfEq("limitedpatronPrintPass",str(#PRINTED_PASS_NAME))
Step 3
Most communities already have a calculation that determines the pass fee sub-total. It is often called: {PassPrintFeeSubTotal}
Add or adjust the calculation...
- Result Name: {PassPrintFeeSubTotal}
- Expression: {PassCount}*#COM_PASS_FIX
Step 4
Most communities already have a calculation that determines the mailing fee sub-total. If there are passes to mail, it will return the mailing fee plus a rounded up "Processing Fee". It is often called: {PassMailFeeSubTotal}
Add or adjust the calculation...
- Result Name: {PassMailFeeSubTotal}
- Expression: if({PassCount}>0,number(#AGS_CLOSELY_MATCH_PRINT_AND_MAIL_FEES),0)
Step 5
Most communities already have a calculation that combines the printing and mailing fees. It is often called: {PassPrintMailFeeTotal}
Add or adjust the calculation...
- Result Name: {PassPrintMailFeeTotal}
- Expression: {PassPrintFeeSubTotal}+{PassMailFeeSubTotal}
Step 6
Most communities already have a TOTAL FEES calculation that includes Step 5's result. It is often called: {TotalFeesWithoutProcess}
Confirm, the Step 5 result is in the TOTAL FEES calculation. Look for: {PassPrintMailFeeTotal}
Step 7
Most communities already have a calculation that adds a processing fee. The Closely Matching constant in step 1.2, includes the rounded up processing fee. This step will disable the standard processing fee. This way, you are not double charging your members a processing fee.
This calculation is often called: {ProcessingFeeTotal}
Edit the calculation...
- Result Name: {ProcessingFeeTotal}
- Change the expression to: if ( 0 , {ProcessingFeeValue} , 0 )
Note: If you don't wish to disable processing fees because you charge members a processing fee for something else, skip this step, follow the "Exact Match", or "Custom Amount" instructions instead.
GO TO: FORM TAB
Step 8
Most communities already have a SELECT FIELD that governs printed passes.
It is often called: patronPrintPass
Adjust the field...
- Field Name: patronPrintPass
- Add instructions: What type of pass are your requesting?
- Field Label: Pass Request
- Required for Patron: Checked
- Modifiable after Submit: Checked
- Synchronized: Checked
- Initially Hidden
- Option A : If give your members a choices. Unhide this field.
- Option B : If you don't give your members a choice. i.e. Everybody gets a classic pass,
- Select Classic Pass
- And hide.
- Select Choices
- Classic Pass for must be one of the choices. (the same name you created in step 1)
Note: Repeat step 8 in your "Nanny Section" if needed.
Step 9
Most communities already have a CALCRESULT FIELD that shows the pass fees.
It is often called: ShowPassPrintMailFeeTotal1
Unhide or confirm it is there.
- Field Name: ShowPassPrintMailFeeTotal1
- Field Label: Pass Fees: $
- Calculation Result Name: PassPrintMailFeeTotal
- Decimal Places: 2
Note: Copy & Repeat Step 9 in your payment section or as needed. This step is not critical, it simply shows the fees for your members so they know what they are paying.
GO TO: PREVIEW TAB
Step 10
Preview & Test your application using the preview tab.
- Complete the form