Skip to main content
Sign in
Snippets Groups Projects
Commit d18282e8 authored by Dorine Lambinet's avatar Dorine Lambinet Committed by David Smadja
Browse files

Affiche le montant total du parent, en très faible opacité

parent 84860e6f
No related branches found
No related tags found
1 merge request!272Reflexions feuille de paie
......@@ -613,9 +613,6 @@
class="flex flex-col items-center justify-end pr-1 sm:flex-row md:flex-col md:pr-4 lg:flex-row"
class:py-1={!trunk}
>
{#if trunk && index !== 0}
<span class="content-center font-normal text-gray-500">=</span>
{/if}
{#each rows as { calculationName, deltaAtVectorIndex }}
<span
class="h-full pl-1 text-right text-sm"
......@@ -664,11 +661,13 @@
? 'text-le-rouge-bill'
: 'text-le-rouge-bill line-through-amendment'
: 'bg-le-jaune text-gray-500'}"
><span class="content-center pr-1 font-normal text-gray-500"
>=</span
>{firstDeltaFormatter(deltaAtVectorIndex ?? 0)}</span
>
{:else if !decomposition.open}
{:else}
<span
class="align-middle text-base font-bold {calculationName ===
class="opac align-middle text-base font-bold {calculationName ===
firstCalculationName
? rows.find((row) => row.calculationName === 'bill') ===
undefined
......@@ -685,9 +684,19 @@
? 'text-le-rouge-bill'
: 'text-le-rouge-bill line-through-amendment'
: 'bg-le-jaune'}"
class:opacity-20={decomposition.open}
class:pr-1={decomposition.open}
>{#if index !== 0}{#if deltaAtVectorIndex < 0}-{:else if deltaAtVectorIndex > 0}+{/if}{/if}
{deltaFormatter(deltaAtVectorIndex ?? 0)}</span
>
{#if decomposition.open}
<span class="opacity-20">
<iconify-icon
class="align-[-0.35rem] text-lg hover:text-le-gris-dispositif"
icon="ri-sort-desc"
></iconify-icon></span
>
{/if}
{/if}
</span>
{/each}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment