🖊 MAJ budget T2

pull/1086/head
Maxime Quandalle 2020-07-03 16:12:43 +02:00
parent 32cc9f1e3a
commit efe1068f6a
2 changed files with 17 additions and 9 deletions

View File

@ -89,15 +89,19 @@ export default function Budget() {
<tfoot>
<tr>
<td>Total</td>
<td>
{formatValue(sum(Object.values(budget[2020]['T1'])), {
language,
displayedUnit: '€'
})}
</td>
<td>-</td>
<td>-</td>
<td>-</td>
{quarters.map(q => {
const value = sum(Object.values(budget[2020]?.[q] ?? {}))
return (
<td key={q}>
{value
? formatValue(value, {
displayedUnit: '€',
language
})
: '-'}
</td>
)
})}
</tr>
</tfoot>
</RessourcesAllocationTable>

View File

@ -13,3 +13,7 @@
Déplacements: 742
Documentation: 286
Marge du porteur: 9946
T2:
Développement: 56100
Logiciels et hébergement: 333
Marge du porteur: 6592