Fix for Issue with Integers and windows server when merging a pdf template.
Fix for dashlet issue with amount_us and amount fields.
Removed redundant function.