Exception:
Request processing failed; nested exception is freemarker.core._MiscTemplateException: Can't compare values of these types. Allowed comparisons are between two numbers, two strings, two dates, or two booleans.
Left hand operand is a number (wrapper: f.t.SimpleNumber).
Right hand operand is a string (wrapper: f.t.SimpleScalar).
The blamed expression:
==> param2Type == "STEEL" [in template "portal/calc/invoice.ftl" at line 90, column 38]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if param2Type == "STEEL" [in template "portal/calc/invoice.ftl" at line 90, column 33]
----