Configurable rate rounding (#5734)

* added invoice hydration of the issuer object
* added "rate calculator" mode
* new config to select rounding mode
* replace static calls with dependency injection
This commit is contained in:
Kevin Papst
2025-12-16 16:47:46 +01:00
committed by GitHub
parent 07ac6c308f
commit 595b5f4b25
43 changed files with 876 additions and 411 deletions

View File

@@ -426,8 +426,8 @@ class TimesheetControllerTest extends APIControllerBaseTestCase
'exported' => true,
'metaFields' => [],
'hourlyRate' => 137.21,
'rate' => 1772.75, // 12,92 * 137,21
'internalRate' => 1772.75,
'rate' => 1772.2958,
'internalRate' => 1772.2958,
];
foreach ($expected as $key => $value) {