refactor: enhance AnnualBudget component layout with improved dark mode support, streamline table structure, and update CSS for better visual consistency
This commit is contained in:
parent
24e8b7a3a8
commit
f073f91569
14 changed files with 1440 additions and 922 deletions
|
|
@ -18,7 +18,7 @@ export const useDeferredMetrics = () => {
|
|||
): number => {
|
||||
const totalTargetHours = members.reduce((sum, member) => sum + (member.targetHours || 0), 0)
|
||||
const grossPayroll = totalTargetHours * hourlyWage
|
||||
return grossPayroll * (1 + oncostPct / 100)
|
||||
return Math.round(grossPayroll * (1 + oncostPct / 100))
|
||||
}
|
||||
|
||||
const calculateDeferredRatio = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue