invoiceninja / ui

Invoice Ninja: Web admin portal built with React
https://app.invoicing.co
Other
52 stars 46 forks source link

[Bugfix] Hours Calculation When Task Running | Amount Money Formatting #1865

Closed Civolilah closed 1 week ago

Civolilah commented 1 week ago

@beganovich @turbo124 The PR includes fixes for calculating hours, which need to be multiplied by the task rate to get the final amount of money when a task is running. If the task is running for the first time, the amount will be presented as 0.00. However, if it has run previously, the calculation will be made for all time logs before the last one, which is the currently running time log. Only "fully" populated time logs will be included in the calculation. Screenshot:

Screenshot 2024-06-25 at 23 25 24

Let me know your thoughts.