can anyone see why this always returns false regardless of ObservedType??
<cfset isNullfwdExtraWindow = false>
<cfif arguments.trade.ObservedType eq 'C'>
isNullfwdExtraWindow = true>
</cfif>
<cfif arguments.trade.ignoreBarrierStyleAndObserved>
isNullfwdExtraWindow = true>
</cfif>
nikos101 wrote:
can anyone see why this always returns false regardless of ObservedType??
<cfset isNullfwdExtraWindow = false>
<cfif arguments.trade.ObservedType eq 'C'>
isNullfwdExtraWindow = true>
</cfif>
<cfif arguments.trade.ignoreBarrierStyleAndObserved>
isNullfwdExtraWindow = true>
</cfif>
This code misses the cfset tag. You could try something like
<cfset isNullfwdExtraWindow = false>
<cfif trim(arguments.trade.ObservedType) eq 'c' OR arguments.trade.ignoreBarrierStyleAndObserved>
<cfset isNullfwdExtraWindow = true>
</cfif>
North America
Europe, Middle East and Africa
Asia Pacific