2017-07-06 16:33:36 +02:00
|
|
|
|
- entreprise = entreprise.decorate
|
|
|
|
|
- etablissement = entreprise.etablissement
|
|
|
|
|
%h4= entreprise.raison_sociale_or_name
|
|
|
|
|
|
2017-07-27 15:30:25 +02:00
|
|
|
|
%table.table.vertical
|
2017-07-06 16:33:36 +02:00
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
|
|
|
|
%th SIRET :
|
|
|
|
|
%td= entreprise.siret_siege_social
|
|
|
|
|
%tr
|
|
|
|
|
%th Forme juridique :
|
|
|
|
|
%td= entreprise.forme_juridique
|
|
|
|
|
- if etablissement.present?
|
|
|
|
|
%tr
|
|
|
|
|
%th Libellé NAF :
|
|
|
|
|
%td= etablissement.libelle_naf
|
|
|
|
|
%tr
|
|
|
|
|
%th Code NAF :
|
|
|
|
|
%td= etablissement.naf
|
|
|
|
|
%tr
|
|
|
|
|
%th Date de création :
|
|
|
|
|
%td= Time.at(entreprise.date_creation).localtime.strftime("%d/%m/%Y")
|
|
|
|
|
%tr
|
|
|
|
|
%th Effectif de l'organisation :
|
|
|
|
|
%td= entreprise.effectif
|
|
|
|
|
%tr
|
|
|
|
|
%th Code effectif :
|
|
|
|
|
%td= entreprise.code_effectif_entreprise
|
|
|
|
|
%tr
|
|
|
|
|
%th Numéro de TVA intracommunautaire :
|
|
|
|
|
%td= entreprise.numero_tva_intracommunautaire
|
|
|
|
|
- if etablissement.present?
|
|
|
|
|
%tr
|
|
|
|
|
%th Adresse :
|
|
|
|
|
%td
|
|
|
|
|
- etablissement.adresse.split("\n").each do |line|
|
|
|
|
|
= line
|
|
|
|
|
%br
|
|
|
|
|
%tr
|
|
|
|
|
%th Capital social :
|
|
|
|
|
%td= entreprise.pretty_capital_social
|
|
|
|
|
- if etablissement.present?
|
|
|
|
|
%tr
|
|
|
|
|
%th Exercices :
|
|
|
|
|
%td
|
|
|
|
|
- etablissement.exercices.each_with_index do |exercice, index|
|
|
|
|
|
= "#{exercice.dateFinExercice.year} : "
|
|
|
|
|
= number_to_currency(exercice.ca)
|
|
|
|
|
%br
|
2017-07-11 17:16:54 +02:00
|
|
|
|
- if entreprise.rna_information.present?
|
|
|
|
|
%tr
|
|
|
|
|
%th Numéro RNA :
|
|
|
|
|
%td= entreprise.rna_information.association_id
|
|
|
|
|
%tr
|
|
|
|
|
%th Titre :
|
|
|
|
|
%td= entreprise.rna_information.titre
|
|
|
|
|
%tr
|
|
|
|
|
%th Objet :
|
|
|
|
|
%td= entreprise.rna_information.objet
|
|
|
|
|
%tr
|
|
|
|
|
%th Date de création :
|
2017-10-16 17:30:53 +02:00
|
|
|
|
%td= entreprise.rna_information.date_creation.strftime("%d/%m/%Y")
|
2017-07-11 17:16:54 +02:00
|
|
|
|
%tr
|
|
|
|
|
%th Date de publication :
|
2017-10-17 14:58:34 +02:00
|
|
|
|
%td= entreprise.rna_information.date_publication.try(:strftime, "%d/%m/%Y")
|
2017-07-11 17:16:54 +02:00
|
|
|
|
%tr
|
|
|
|
|
%th Date de déclaration :
|
2017-10-16 17:30:53 +02:00
|
|
|
|
%td= entreprise.rna_information.date_declaration.strftime("%d/%m/%Y")
|