Commit d7d424fafd5900a9e20debbe2580a8b042e45da8 in ofbiz-framework's branch refs/heads/trunk from James Yong
Fixed: Issue in rendering Comparitive balance sheet pdf (OFBIZ-12151), and Exporting the PDF for Cash Flow Statement displays the macro code for the date fields (OFBIZ-12155)
Thanks: Lalit for reporting OFBIZ-12151; Ankit, OFBIZ-12155. Jacques for linking the issues.
> Issue in rendering Comparitive balance sheet pdf
> ------------------------------------------------
>
> Key: OFBIZ-12151
> URL:
https://issues.apache.org/jira/browse/OFBIZ-12151> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Affects Versions: Trunk
> Reporter: Lalit Dashora
> Priority: Major
> Attachments: Comparitve-Balance-sheet.png
>
>
> 1. Navigate to URL: accounting/control/ComparativeBalanceSheet?organizationPartyId=Company
> 2. Click on Export as PDF button.
> 3. The rendered pdf is showing macro error. Please find the attached screenshot for the same.
> Error on pdf:
> Macro "renderDateTimeField"
> has no parameter with
> name "isXMLHttpRequest".
> Valid parameter names are:
> name, className, alert, title,
> value, size, maxlength, step,
> timeValues, id, event, action,
> dateType, shortDateInput,
> timeDropdownParamName,
> defaultDateTimeString,
> localizedIconTitle,
> timeDropdown, timeHourName,
> classString, hour1, hour2,
> timeMinutesName, minutes,
> isTwelveHour, ampmName,
> amSelected, pmSelected,
> compositeType, formName,
> mask, tabindex, disabled ----
> FTL stack trace ("~" means
> nesting-related): - Failed
> at: @renderDateTimeField
> name="period1Thr... [in template
> "-2af91e43:1772d95b837:468f"
> at line 1, column 1] ----