Funds display inoperable beyond 999.

Description

FROM YAHOO MAILING LIST:
– just read the Posting Guidelines —

Morning All,
pcgen v6.05.03 3.5e mode windows 7
I am having an issue with PDF output using the SRD library and
"outputsheets\d20\fantasy\pdf" with any of the csheet_fantasy_simple
outputs.
I have not used or tested with other outputs

if funds is greater > 999 they are not being output in the Money/
Unspent Funds section of the PDF export
(this is irrespective of coins or gems)

The test in the money template of block_equipment.xslt from the
common_sheet directory
<xsl:if test="misc/gold &gt; 0">
is failing as misc/gold is not a number when greater than 999 instead
misc/gold seems to become a string eg
"1,000"

A working fix is to replace the test with
<xsl:if test="misc/gold != 0">

This works with funds above 999, and does not print when funds = 0;

yours
Russell

Environment

None

Assignee

Andrew Maitland

Reporter

Andrew Maitland

Labels

None

Epic/Theme

None

Pending User Input

No

Fix versions

Affects versions

Priority

Minor
Configure