Skip to content
Snippets Groups Projects
Unverified Commit 497be68d authored by Dorine Lambinet's avatar Dorine Lambinet
Browse files

Changements oubliés autre branche

parent 7e128a62
Branches
Tags
1 merge request!298Changements oubliés branche V1
Pipeline #19434 passed
...@@ -54,32 +54,55 @@ ...@@ -54,32 +54,55 @@
</script> </script>
<button <button
class="flex w-full items-center rounded-md border-2 border-white bg-white px-2 py-1 pr-4 text-sm text-le-gris-dispositif-dark shadow-md transition-all duration-500 ease-out-back hover:border-2 hover:border-le-gris-dispositif" class=" flex w-full items-center rounded-md border-2 border-white bg-white px-2 py-0.5 pr-4 text-sm text-le-gris-dispositif-dark shadow-md transition-all duration-500 ease-out-back hover:border-2 hover:border-le-gris-dispositif"
onclick={bubble("click")} onclick={bubble("click")}
> >
<iconify-icon class="mr-2 align-[-0.2rem] text-2xl" icon="ri-question-line" <iconify-icon class="mr-2 align-[-0.2rem] text-xl" icon="ri-question-line"
></iconify-icon> ></iconify-icon>
<p class="text-left font-bold tracking-wider"> <p class="text-left leading-4 tracking-wider">
{#if !parameterName?.startsWith("impot_revenu")}
Revalorisation {yearPLF}
<br />{/if}
<span class="text-sm font-normal tracking-wide">
{#if parameterName?.startsWith("impot_revenu.bareme_ir_depuis_1945.bareme")} {#if parameterName?.startsWith("impot_revenu.bareme_ir_depuis_1945.bareme")}
Indexation d'usage du barème de l'IR par le PLF de Indexation d'usage du barème de l'IR, par le PLF, de {billInflatorValueFormatted}.
{:else if parameterName?.startsWith("impot_revenu.calcul_impot_revenu.plaf_qf.decote")} {:else if parameterName?.startsWith("impot_revenu.calcul_impot_revenu.plaf_qf.decote")}
Indexation d'usage des plafonds de la décote par le PLF de Indexation d'usage des plafonds de la décote, par le PLF, de {billInflatorValueFormatted}.
{:else if parameterName?.startsWith("impot_revenu.calcul_impot_revenu.plaf_qf.plafond_avantages_procures_par_demi_part")} {:else if parameterName?.startsWith("impot_revenu.calcul_impot_revenu.plaf_qf.plafond_avantages_procures_par_demi_part")}
Indexation d'usage des plafonds du quotient familial par le PLF de Indexation d'usage des plafonds du quotient familial, par le PLF, de {billInflatorValueFormatted}.
{:else if parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.abat_rni.enfant_marie.montant")} {:else if parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.abat_rni.enfant_marie.montant")}
Indexation d'usage de l'abattement par le PLF de Indexation d'usage de l'abattement, par le PLF, de {billInflatorValueFormatted}.
{:else if parameterName?.startsWith("impot_revenu")} {:else if parameterName?.startsWith("impot_revenu")}
Revalorisation, suite à l'indexation d'usage du barème de l'IR par le Revalorisation de {billInflatorValueFormatted}, suite à l'indexation
PLF, de d'usage du barème de l'IR par le PLF.
{:else} {:else}
Indexation sur l'inflation à Indexation sur l'inflation à {billInflatorValueFormatted}.
{/if} {/if}
{billInflatorValueFormatted}.
</span>
</p> </p>
</button> </button>
<!--
<button
class="mt-4 flex w-full items-center rounded-md border-2 border-white bg-white px-2 py-0.5 pr-4 text-sm text-le-gris-dispositif-dark shadow-md transition-all duration-500 ease-out-back hover:border-2 hover:border-le-gris-dispositif"
onclick={bubble("click")}
>
<iconify-icon class="mr-2 align-[-0.2rem] text-xl" icon="ri-file-text-line"
></iconify-icon>
<p class="text-left leading-4 tracking-wider">
<span class="font-bold">Prévisions {yearPLF}&nbsp;:</span>
{#if parameterName?.startsWith("impot_revenu.bareme_ir_depuis_1945.bareme")}
Indexation d'usage du barème de l'IR par le PLF, de {billInflatorValueFormatted}.
{:else if parameterName?.startsWith("impot_revenu.calcul_impot_revenu.plaf_qf.decote")}
Indexation d'usage des plafonds de la décote par le PLF, de {billInflatorValueFormatted}.
{:else if parameterName?.startsWith("impot_revenu.calcul_impot_revenu.plaf_qf.plafond_avantages_procures_par_demi_part")}
Indexation d'usage des plafonds du quotient familial par le PLF, de {billInflatorValueFormatted}.
{:else if parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.abat_rni.enfant_marie.montant")}
Indexation d'usage de l'abattement par le PLF, de {billInflatorValueFormatted}.
{:else if parameterName?.startsWith("impot_revenu")}
Revalorisation de {billInflatorValueFormatted}, suite à l'indexation
d'usage du barème de l'IR par le PLF.
{:else}
Indexation sur l'inflation à {billInflatorValueFormatted}.
{/if}
</p>
</button>
-->
...@@ -73,12 +73,12 @@ ...@@ -73,12 +73,12 @@
{#if parameterName?.startsWith("impot_revenu.bareme_ir_depuis_1945.bareme")} {#if parameterName?.startsWith("impot_revenu.bareme_ir_depuis_1945.bareme")}
Indexation d'usage <br />du barème de l'impôt par le PLF Indexation d'usage <br />du barème de l'impôt par le PLF
{:else if parameterName?.startsWith("impot_revenu.calcul_reductions_impots.dons.dons_coluche.plafond") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.abat_rni.personne_agee_ou_invalide") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.charges_deductibles.accueil_personne_agee.plafond") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.rpns.micro.microentreprise.regime_micro_bnc.marchandises.plafond") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.deductions.abatpen.min") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.deductions.abatpen.max") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.deductions.abatpro.min") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.deductions.abatpro.max") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.rpns.micro.microentreprise.regime_micro_ba.plafond_recettes") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.rpns.micro.microentreprise.regime_micro_bnc.services.plafond") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.charges_deductibles.pensions_alimentaires.plafond")} {:else if parameterName?.startsWith("impot_revenu.calcul_reductions_impots.dons.dons_coluche.plafond") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.abat_rni.personne_agee_ou_invalide") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.charges_deductibles.accueil_personne_agee.plafond") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.rpns.micro.microentreprise.regime_micro_bnc.marchandises.plafond") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.deductions.abatpen.min") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.deductions.abatpen.max") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.deductions.abatpro.min") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.deductions.abatpro.max") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.rpns.micro.microentreprise.regime_micro_ba.plafond_recettes") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.rpns.micro.microentreprise.regime_micro_bnc.services.plafond") || parameterName?.startsWith("impot_revenu.calcul_revenus_imposables.charges_deductibles.pensions_alimentaires.plafond")}
Revalorisation prévue pour {yearPLF} Revalorisation attendue pour {yearPLF}
<br /><span class="font-normal" <br /><span class="font-normal"
>si le barème de l'impôt est indexé sur l'inflation</span >si le barème de l'impôt est indexé sur l'inflation</span
> >
{:else} {:else}
Revalorisation prévue pour {yearPLF} Revalorisation attendue pour {yearPLF}
{/if}<br /> {/if}<br />
<!-- <div class="text-sm">{billParameter.name}</div>--> <!-- <div class="text-sm">{billParameter.name}</div>-->
</Dialog.Title> </Dialog.Title>
......
...@@ -294,23 +294,7 @@ ...@@ -294,23 +294,7 @@
/> />
</div> </div>
<div class="flex justify-between bg-gray-100 py-2 pl-2 pr-4"> <div class="flex justify-end bg-gray-100 py-2 pl-2 pr-4">
{#if hasInflator}
<InflationLawButton
{inflatorByReformName}
on:click={() => (isInflationLawInfoModalOpen = true)}
parameterName={billParameter.name}
/>
<InflationLawInfoModal
bind:isOpen={isInflationLawInfoModalOpen}
{billParameter}
{inflatorByReformName}
{lawParameter}
{revaluationParameter}
parameterName={billParameter.name}
/>
{/if}
<a <a
class="lx-link-simple ml-2 flex items-center text-sm text-gray-600" class="lx-link-simple ml-2 flex items-center text-sm text-gray-600"
rel="noreferrer" rel="noreferrer"
...@@ -415,5 +399,24 @@ ...@@ -415,5 +399,24 @@
/> />
{/if} {/if}
{/if} {/if}
{#if hasInflator}
<p class="mt-4 pb-1 text-xs">
Barème attendu en {yearPLF}&nbsp;:
</p>
<InflationLawButton
{inflatorByReformName}
on:click={() => (isInflationLawInfoModalOpen = true)}
parameterName={billParameter.name}
/>
<InflationLawInfoModal
bind:isOpen={isInflationLawInfoModalOpen}
{billParameter}
{inflatorByReformName}
{lawParameter}
{revaluationParameter}
parameterName={billParameter.name}
/>
{/if}
</div> </div>
</section> </section>
...@@ -328,23 +328,6 @@ ...@@ -328,23 +328,6 @@
{/if} {/if}
</div> </div>
{/if} {/if}
{#if hasInflator}
<InflationLawButton
{inflatorByReformName}
on:click={() => (isLawInfoModalOpen = true)}
parameterName={billParameter.name}
/>
<InflationLawInfoModal
bind:isOpen={isLawInfoModalOpen}
{billParameter}
{inflatorByReformName}
{lawParameter}
{revaluationParameter}
parameterName={billParameter.name}
/>
{/if}
</div> </div>
<!--Spécial PLF 2025 : Alerte paramètre modifié par le PLF mais pas modifié par LexImpact --> <!--Spécial PLF 2025 : Alerte paramètre modifié par le PLF mais pas modifié par LexImpact -->
{#if billActive && billParameter.name?.startsWith("prelevements_sociaux.reductions_cotisations_sociales.allegement_general.ensemble_des_entreprises.plafond")} {#if billActive && billParameter.name?.startsWith("prelevements_sociaux.reductions_cotisations_sociales.allegement_general.ensemble_des_entreprises.plafond")}
...@@ -461,6 +444,25 @@ ...@@ -461,6 +444,25 @@
/> />
{/if} {/if}
{/if} {/if}
{#if hasInflator}
<p class="mt-4 pb-1 text-xs">
Valeur attendue en {yearPLF}&nbsp;:
</p>
<InflationLawButton
{inflatorByReformName}
on:click={() => (isLawInfoModalOpen = true)}
parameterName={billParameter.name}
/>
<InflationLawInfoModal
bind:isOpen={isLawInfoModalOpen}
{billParameter}
{inflatorByReformName}
{lawParameter}
{revaluationParameter}
parameterName={billParameter.name}
/>
{/if}
</div> </div>
</section> </section>
{/if} {/if}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment