usdigitalresponse/cpf-reporter

[Issue]: Treasury Report - Currency Fields

Opened this issue · 3 comments

Why is this issue important?

currency fields need to be in correct format to be accepted in treasury portal

Current State

Currency fields display as whole numbers with no decimal ponts

Expected State

  • All currency fields should display in the treasury report as a number with two decimal points
  • If no decimal values were entered, the number should display with zeros (i.e. 13.00)
  • The currency fields should round to the nearest two decimal place

Implementation Plan

The following functions need to be added...

Relevant Code Snippets

No response

the condecimal type that we're using is deprecated and will be removed in Pydantic 3.0
Here are the change for this specific issue: #441

Related PR for related constraints: #442

Looks great in staging for project files. Waiting on resolving the issue generating the subrecipient file in order to test there as well