demarches-normaliennes/app/views/shared/champs/dgfip/_agregats_fiscaux.html.haml

7 lines
435 B
Text
Raw Normal View History

2021-11-24 17:30:35 +01:00
%table.dgfip
%caption #{t("api_particulier.providers.dgfip.scopes.#{scope}.libelle")} :
- agregats_fiscaux.slice('revenuBrutGlobal', 'revenuImposable', 'impotRevenuNetAvantCorrections', 'montantImpot', 'revenuFiscalReference', 'anneeImpots', 'anneeRevenus', 'erreurCorrectif', 'situationPartielle').keys.each do |key|
%tr
%th= t("api_particulier.providers.dgfip.scopes.#{scope}.#{key}")
%td= agregats_fiscaux[key]