Release 1.19.4 (#3255)
* login redirects to homepage if already being logged-in * fix budget check for entries that were moved to another moth * invoice: fix amount should be decimal if decimal template is used * added new month grouped by project/activity/user report
This commit is contained in:
@@ -32,7 +32,11 @@ class InvoiceItemDefaultHydrator implements InvoiceItemHydrator
|
||||
$rate = $item->getRate();
|
||||
$internalRate = $item->getInternalRate();
|
||||
$appliedRate = $item->getHourlyRate();
|
||||
$amount = $formatter->getFormattedDuration($item->getDuration());
|
||||
if ($this->model->getTemplate()->isDecimalDuration()) {
|
||||
$amount = $formatter->getFormattedDecimalDuration($item->getDuration());
|
||||
} else {
|
||||
$amount = $formatter->getFormattedDuration($item->getDuration());
|
||||
}
|
||||
$description = $item->getDescription();
|
||||
|
||||
if ($item->isFixedRate()) {
|
||||
|
||||
Reference in New Issue
Block a user