fix issue ##2365

total amount field type changed to currency
print formats fixed and patch written to recalculate total amount