envelope-zero / backend

Serves the API and contains the application logic
Other
6 stars 3 forks source link

feat!: set default available from to next month #1100

Closed morremeyer closed 4 days ago

morremeyer commented 4 days ago

With this, the default AvailableFrom date is set to the first of the month following the transaction, not the month of the transaction.

This makes more sense logically since it enforces funds to only be allocated after they have been received by default. The value can still be explicitly set if that is required.

codecov[bot] commented 4 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.20%. Comparing base (f93af87) to head (5affc6a). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1100 +/- ## ======================================= Coverage 81.20% 81.20% ======================================= Files 54 54 Lines 4890 4890 ======================================= Hits 3971 3971 Misses 775 775 Partials 144 144 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: