1378 lines
47 KiB
XML
1378 lines
47 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||
<xsl:decimal-format name="francais" decimal-separator="," grouping-separator=" "/>
|
||
<xsl:output method="html" encoding="ISO-8859-1"/>
|
||
<xsl:template match="*|/">
|
||
<xsl:apply-templates/>
|
||
</xsl:template>
|
||
<xsl:template match="text()|@*">
|
||
<xsl:value-of select="."/>
|
||
</xsl:template>
|
||
<xsl:template match="Extrait">
|
||
<html>
|
||
<head>
|
||
<title>Extrait
|
||
<xsl:choose>
|
||
<xsl:when test="dossier/entreprise/num_gest/statut='P' or dossier/entreprise/num_gest/statut='M'">RSAC</xsl:when>
|
||
<xsl:otherwise>RCS</xsl:otherwise>
|
||
</xsl:choose>
|
||
</title>
|
||
<style type="text/css">
|
||
|
||
body.simple {
|
||
background-color:white;
|
||
padding:0px;
|
||
border:0px;
|
||
margin:0px;
|
||
font-family: arial, sans-serif;
|
||
font-size: 11px;
|
||
color:#535353;
|
||
}
|
||
td {
|
||
font-family: arial, sans-serif;
|
||
font-size: 11px;
|
||
color:#535353;
|
||
}
|
||
div.kbis{
|
||
padding:8px;
|
||
width: 550px;
|
||
background-color:white;
|
||
margin-left:auto;
|
||
margin-right:auto;
|
||
}
|
||
td.greffe{
|
||
FONT: bold 11px;
|
||
}
|
||
td.adresse{
|
||
FONT: 9px;
|
||
}
|
||
.label{
|
||
font-style: italic;
|
||
}
|
||
.mention{
|
||
font-size:13px;
|
||
font-weight:bold;
|
||
}
|
||
.taille11{
|
||
FONT:11px;
|
||
}
|
||
.taille12{
|
||
FONT:12px;
|
||
}
|
||
.titre{
|
||
background-color: #DCDCDC;
|
||
font-style: italic;
|
||
}
|
||
.message{
|
||
FONT:11px;
|
||
padding-top: 1em;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body class="simple" >
|
||
<center>
|
||
<div id="conteneur" class="kbis">
|
||
<xsl:apply-templates select="dossier"/>
|
||
</div>
|
||
</center>
|
||
</body>
|
||
</html>
|
||
</xsl:template>
|
||
<xsl:template match="dossier">
|
||
<xsl:variable name="numident">
|
||
<xsl:value-of select="entreprise/num_ident"/>
|
||
</xsl:variable>
|
||
<table class="classeTexteCourant" width="100%" cellspacing="0" cellpadding="0" border="0">
|
||
<tr>
|
||
<td align="left" class="greffe">
|
||
Greffe du tribunal de commerce de <xsl:value-of select="entreprise/greffe"/>
|
||
</td>
|
||
<td/>
|
||
<td />
|
||
</tr>
|
||
<tr valign="top">
|
||
<td class="adresse" >
|
||
<xsl:if test="/Extrait/adresse[@id=current()/@id_adr_greffe]/ligne1 != ''">
|
||
<xsl:value-of select="/Extrait/adresse[@id=current()/@id_adr_greffe]/ligne1"/>
|
||
<br/>
|
||
</xsl:if>
|
||
<xsl:if test="/Extrait/adresse[@id=current()/@id_adr_greffe]/ligne2 != ''">
|
||
<xsl:value-of select="/Extrait/adresse[@id=current()/@id_adr_greffe]/ligne2"/>
|
||
<br/>
|
||
</xsl:if>
|
||
<xsl:if test="/Extrait/adresse[@id=current()/@id_adr_greffe]/ligne2 = ''">
|
||
<xsl:value-of select="/Extrait/adresse[@id=current()/@id_adr_greffe]/code_postal"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="/Extrait/adresse[@id=current()/@id_adr_greffe]/bureau_distributeur"/>
|
||
</xsl:if>
|
||
</td>
|
||
<td align="center">
|
||
|
||
</td>
|
||
<!-- Utilisation apply-template sinon le template num_gest ne s'applique pas. -->
|
||
<td class="message" align="right">
|
||
<div class="no-print">
|
||
<xsl:if test="@affiche_message='true'">
|
||
<br/>
|
||
<font class="red10Arial">Ce produit n'est pas disponible pour l'entreprise sélectionnée</font>
|
||
</xsl:if>
|
||
<xsl:if test="@decouvert">
|
||
<br/>
|
||
<font class="red10Arial">
|
||
<xsl:value-of select="@decouvert"/>
|
||
</font>
|
||
</xsl:if>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td/>
|
||
<td align="center">
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td height="10"/>
|
||
</tr>
|
||
</table>
|
||
<!-- Pied de page avec mention l<>gale. esoin de modifier la feuile de style css pour IE. -->
|
||
<table width="100%">
|
||
<tr>
|
||
<td>
|
||
<h3>
|
||
<center class="titre">
|
||
<xsl:value-of select="/Extrait/@titre"/>
|
||
</center>
|
||
</h3>
|
||
<center>
|
||
<h4> IMMATRICULATION AU REGISTRE
|
||
<xsl:choose>
|
||
<xsl:when test="entreprise/num_gest/statut='P' or entreprise/num_gest/statut='M'">
|
||
SPECIAL DES AGENTS COMMERCIAUX
|
||
</xsl:when>
|
||
<xsl:otherwise>
|
||
DU COMMERCE ET DES SOCIETES
|
||
</xsl:otherwise>
|
||
</xsl:choose>
|
||
</h4>
|
||
</center>
|
||
<center>Extrait au <xsl:value-of select="@date_extrait"/>
|
||
</center>
|
||
<xsl:variable name="adresse_siege">
|
||
<xsl:call-template name="search-adress">
|
||
<xsl:with-param name="adresse_id" select="entreprise/@id_adr_siege"/>
|
||
</xsl:call-template>
|
||
</xsl:variable>
|
||
<table class="taille12" width="100%">
|
||
<tr>
|
||
<td width="32%"/>
|
||
<td width="68%"/>
|
||
</tr>
|
||
<tr>
|
||
<TD align="left" colspan="2">
|
||
<b>IDENTIFICATION </b>
|
||
<HR size="1"/>
|
||
</TD>
|
||
</tr>
|
||
<xsl:if test="entreprise/pm/denomination!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
<xsl:choose>
|
||
<xsl:when test="entreprise/num_gest/statut='M'">Raison sociale (dénomination) - Sigle :</xsl:when>
|
||
<xsl:otherwise>Dénomination sociale :</xsl:otherwise>
|
||
</xsl:choose>
|
||
</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/pm/denomination"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pp/nom!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
<xsl:choose>
|
||
<xsl:when test="entreprise/num_gest/statut='P'">Nom, prénom(s), nom d'usage :</xsl:when>
|
||
<xsl:otherwise>Nom, prénom(s) :</xsl:otherwise>
|
||
</xsl:choose>
|
||
</td>
|
||
<td>
|
||
<xsl:if test="entreprise/pp/@civilite != ''">
|
||
<xsl:value-of select="entreprise/pp/@civilite"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:value-of select="entreprise/pp/nom"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="entreprise/pp/prenom"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pm/sigle!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Sigle :</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/pm/sigle"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Numéro d'identification :</td>
|
||
<td>
|
||
<xsl:if test="boolean(normalize-space($numident))">
|
||
<xsl:value-of select="$numident"/>
|
||
</xsl:if>
|
||
<xsl:if test="not(boolean(normalize-space($numident)))">en cours d'attribution</xsl:if>
|
||
</td>
|
||
</tr>
|
||
<xsl:if test="entreprise/num_gest and entreprise/num_gest/millesime and entreprise/num_gest/chrono">
|
||
<tr>
|
||
<xsl:if test="not(entreprise/num_gest/@isRSAC) or entreprise/num_gest/@isRSAC!='true'">
|
||
<td align="left" valign="top" class="label">Numéro RCS :</td>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/num_gest/@isRSAC and entreprise/num_gest/@isRSAC='true'">
|
||
<td align="left" valign="top" class="label">Numéro RSAC :</td>
|
||
</xsl:if>
|
||
<td>
|
||
<xsl:apply-templates select="entreprise/num_gest"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="@date_immat">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Date immatriculation :</td>
|
||
<td>
|
||
<xsl:choose>
|
||
<xsl:when test="@date_renouv">
|
||
<xsl:value-of select="@date_renouv"/> après renouvellement</xsl:when>
|
||
<xsl:otherwise>
|
||
<xsl:value-of select="@date_immat"/>
|
||
</xsl:otherwise>
|
||
</xsl:choose>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/radiation">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Date de radiation :</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/radiation/date_radiation"/>
|
||
<xsl:if test="entreprise/radiation/date_effet">
|
||
avec effet au <xsl:value-of select="entreprise/radiation/date_effet"/>
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
<xsl:if test="entreprise/radiation/motif">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Motif de radiation :</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/radiation/motif"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:if>
|
||
<!-- RENSEIGNEMENTS RELATIFS A LA PERSONNE =================================================== -->
|
||
<tr>
|
||
<TD colspan="2"><b><xsl:value-of select="entreprise/titre"/></b>
|
||
<HR size="1"/>
|
||
</TD>
|
||
</tr>
|
||
<xsl:if test="entreprise/immatriculation!=''">
|
||
<tr>
|
||
<td valign="top" class="label">Immatriculé au Greffe de :</td>
|
||
<td align="bottom">
|
||
<xsl:value-of select="entreprise/immatriculation"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pm/@forme_juridique!=''">
|
||
<tr>
|
||
<td valign="top" class="label">Forme juridique :</td>
|
||
<td align="bottom">
|
||
<xsl:value-of select="entreprise/pm/@forme_juridique"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- rg 12 et rg 13 kbis -->
|
||
<xsl:if test="entreprise/pm/capital/montant">
|
||
<tr>
|
||
<td valign="top" class="label">
|
||
<xsl:value-of select="entreprise/pm/capital/libelle"/>
|
||
</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/pm/capital/montant"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="entreprise/pm/capital/montant/@devise"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- rg 14 kbis -->
|
||
<xsl:if test="entreprise/pm/capital_mini">
|
||
<tr>
|
||
<td valign="top" class="label">
|
||
<xsl:value-of select="entreprise/pm/capital_mini/libelle"/>
|
||
</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/pm/capital_mini/valeur"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="entreprise/pm/capital_mini/devise_cap_mini"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pp/nom_usage">
|
||
<tr>
|
||
<td valign="top" class="label">Nom d'usage :</td>
|
||
<td><xsl:value-of select="entreprise/pp/nom_usage"/></td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pp/nom_jeune_fille">
|
||
<tr>
|
||
<td valign="top" class="label">Nom de jeune fille :</td>
|
||
<td><xsl:value-of select="entreprise/pp/nom_jeune_fille"/></td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pp/pseudonyme">
|
||
<tr>
|
||
<td valign="top" class="label">Pseudonyme :</td>
|
||
<td><xsl:value-of select="entreprise/pp/pseudonyme"/></td>
|
||
</tr>
|
||
</xsl:if>
|
||
|
||
<xsl:apply-templates select="entreprise/pp/naissance"/>
|
||
|
||
<xsl:if test="entreprise/pp/@nationalite">
|
||
<tr>
|
||
<td valign="top" class="label">Nationalité :</td>
|
||
<td><xsl:value-of select="entreprise/pp/@nationalite"/></td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pp/situation_matrimoniale">
|
||
<tr>
|
||
<td valign="top" class="label">Situation matrimoniale :</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/pp/situation_matrimoniale/@code"/>
|
||
<xsl:if test="entreprise/pp/situation_matrimoniale/date != ''">
|
||
<xsl:text> le </xsl:text>
|
||
<xsl:value-of select="entreprise/pp/situation_matrimoniale/date"/>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pp/situation_matrimoniale/lieu">
|
||
<xsl:text> à </xsl:text>
|
||
<xsl:value-of select="entreprise/pp/situation_matrimoniale/lieu"/>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pp/situation_matrimoniale/regime">
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="entreprise/pp/situation_matrimoniale/regime"/>
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pp/situation_matrimoniale/conjoint">
|
||
<tr>
|
||
<td>Conjoint(e) :</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/pp/situation_matrimoniale/conjoint"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pp/@adresse">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
Adresse du domicile :
|
||
</td>
|
||
<td>
|
||
<xsl:variable name="adresse_domicile">
|
||
<xsl:call-template name="search-adress">
|
||
<xsl:with-param name="adresse_id" select="entreprise/pp/@adresse"/>
|
||
</xsl:call-template>
|
||
</xsl:variable>
|
||
<xsl:value-of select="$adresse_domicile"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/nom_commercial">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Nom commercial :</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/nom_commercial"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/@id_adr_siege">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
<xsl:choose>
|
||
<xsl:when test="/Extrait/@type='3'">Adresse de l'établissement principal</xsl:when>
|
||
<xsl:otherwise>Adresse du siège</xsl:otherwise>
|
||
</xsl:choose> :</td>
|
||
<td>
|
||
<!--xsl:for-each select="entreprise/adresse_siege">
|
||
<xsl:call-template name="display-adress"/>
|
||
</xsl:for-each-->
|
||
<xsl:value-of select="$adresse_siege"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- domiciliation -->
|
||
<xsl:if test="entreprise/domiciliation">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
Domiciliataire :
|
||
</td>
|
||
<td>
|
||
<table class="taille12" cellpadding="0" cellspacing="0">
|
||
<tr>
|
||
<td>
|
||
<xsl:value-of select="entreprise/domiciliation/@deno"/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>
|
||
<xsl:call-template name="search-adress">
|
||
<xsl:with-param name="adresse_id" select="entreprise/domiciliation/@adresse"/>
|
||
</xsl:call-template>
|
||
</td>
|
||
</tr>
|
||
<xsl:if test="entreprise/domiciliation/@numIdent">
|
||
<tr>
|
||
<td>
|
||
<i>N<EFBFBD> identification</i>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="format-number (entreprise/domiciliation/@numIdent,'### ### ###','francais')"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- rg 17 Duree de la societe -->
|
||
<xsl:if test="entreprise/pm/duree_ste">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
<xsl:value-of select="entreprise/pm/duree_ste/libelle_duree"/>
|
||
</td>
|
||
<td>
|
||
<table class="taille12" cellpadding="0" cellspacing="0">
|
||
<tr>
|
||
<td>
|
||
<xsl:value-of select="entreprise/pm/duree_ste/valeur_duree"/>
|
||
</td>
|
||
</tr>
|
||
<xsl:if test="entreprise/pm/duree_ste/prorogation">
|
||
<tr>
|
||
<td>
|
||
<xsl:text>Prorogation jusqu'au </xsl:text>
|
||
<xsl:value-of select="entreprise/pm/duree_ste/prorogation"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- rg 18 -->
|
||
<xsl:if test="entreprise/pm/date_cloture">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Date d'arrêté des comptes:</td>
|
||
<td align="left" valign="top">
|
||
<xsl:value-of select="entreprise/pm/date_cloture"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- rg 19 Acte constitutif -->
|
||
<xsl:if test="entreprise/pm/acte_const">
|
||
|
||
<xsl:variable name="greffe" select="entreprise/pm/acte_const/@greffe"/>
|
||
<xsl:variable name="num_depot" select="entreprise/pm/acte_const/@num_depot"/>
|
||
<xsl:variable name="greffe_dossier" select="entreprise/pm/acte_const/@greffe_dossier"/>
|
||
<xsl:variable name="date_depot" select="entreprise/pm/acte_const/date_depot"/>
|
||
<xsl:if test="($date_depot!='' and $date_depot!='0') and (($greffe!='' and $greffe!='0') or ($num_depot!='' and $num_depot!='0'))">
|
||
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Constitution - Dépôt de l'acte constitutif :</td>
|
||
<td align="left" valign="top">
|
||
<xsl:if test="($greffe_dossier!='true')">
|
||
<xsl:value-of select="entreprise/pm/acte_const/libelle_const"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="$greffe"/>
|
||
</xsl:if>
|
||
le <xsl:value-of select="$date_depot"/>
|
||
<xsl:if test="$num_depot!='0' and $num_depot!=''"> sous le numéro <xsl:value-of select="$num_depot"/></xsl:if>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pm/acte_const/journal_parution">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Publication:</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/pm/acte_const/journal_parution/@libelle"/> du <xsl:value-of select="entreprise/pm/acte_const/journal_parution/ @date_debut"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- rg 20 Acte de transfert -->
|
||
<xsl:if test="entreprise/pm/acte_trans">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Transfert de :</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/pm/acte_trans/@greffe"/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Dépôt de l'acte :</td>
|
||
<td>
|
||
Au greffe du tribunal de Commerce de <xsl:value-of select="entreprise/pm/acte_trans/depot/@greffe"/>
|
||
<xsl:if test="entreprise/pm/acte_trans/depot/date_depot"> le <xsl:value-of select="entreprise/pm/acte_trans/depot/date_depot"/>
|
||
</xsl:if>
|
||
<!-- numero depot -->
|
||
<xsl:variable name="num_depot_acte">
|
||
<xsl:value-of select="entreprise/pm/acte_trans/depot/@num_depot"/>
|
||
</xsl:variable>
|
||
<xsl:if test="$num_depot_acte!=0 and $num_depot_acte!=''"> sous le numéro <xsl:value-of select="$num_depot_acte"/>
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pm/acte_trans/journal_parution">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Publication au Greffe du nouveau siège :</td>
|
||
<td>
|
||
Journal <xsl:value-of select="entreprise/pm/acte_trans/journal_parution/@libelle"/> du <xsl:value-of select="entreprise/pm/acte_trans/journal_parution/ @date_debut"/>
|
||
<xsl:variable name="date_fin">
|
||
<xsl:value-of select="entreprise/pm/acte_trans/journal_parution/@date_fin"/>
|
||
</xsl:variable>
|
||
<xsl:if test="$date_fin!=''"> au <xsl:value-of select="$date_fin"/>
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
|
||
<!-- Acte de transfert pour un commercant-->
|
||
<xsl:if test="entreprise/pp/acte_trans">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Transfert de :</td>
|
||
<td>
|
||
<xsl:value-of select="entreprise/pp/acte_trans/@greffe"/>
|
||
<xsl:if test="entreprise/pp/acte_trans/@adresse_precedente"><br /> <xsl:value-of select="entreprise/pp/acte_trans/@adresse_precedente"/>
|
||
</xsl:if>
|
||
<xsl:if test="entreprise/pp/acte_trans/@date_trans"><br /> <20> compter du <xsl:value-of select="entreprise/pp/acte_trans/@date_trans"/>
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
|
||
<!-- GIE ? -->
|
||
<!-- LISTE DES DIRIGEANTS ======================================================================================== -->
|
||
<xsl:if test="liste_dirigeant">
|
||
<tr>
|
||
<TD align="left" colspan="2">
|
||
<b>
|
||
<xsl:value-of select="liste_dirigeant/@titre"/>
|
||
</b>
|
||
<HR size="1"/>
|
||
</TD>
|
||
</tr>
|
||
<xsl:for-each select="liste_dirigeant/dirigeant">
|
||
<xsl:if test="@type='PP'">
|
||
<tr>
|
||
<td valign="top" class="label">
|
||
<xsl:value-of select="qualite"/>
|
||
</td>
|
||
<td valign="top">
|
||
<!-- personne physique -->
|
||
<xsl:call-template name="personnephysique">
|
||
<xsl:with-param name="personne" select="pp"/>
|
||
</xsl:call-template>
|
||
</td>
|
||
</tr>
|
||
<xsl:if test="complement">
|
||
<tr>
|
||
<td valign="top">
|
||
</td>
|
||
<td valign="top">
|
||
<xsl:value-of select="complement"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:if>
|
||
<xsl:if test="@type='PM'">
|
||
<tr>
|
||
<td valign="top" class="label">
|
||
<xsl:value-of select="qualite"/>
|
||
</td>
|
||
<td valign="top">
|
||
<table class="taille12" cellpadding="0" cellspacing="0">
|
||
<tr>
|
||
<td>
|
||
<xsl:value-of select="pm/denomination"/>
|
||
</td>
|
||
</tr>
|
||
<xsl:if test="pm/num_ident!=''">
|
||
<tr>
|
||
<td>
|
||
<xsl:call-template name="format_num_ident">
|
||
<xsl:with-param name="num" select="pm/num_ident"/>
|
||
<xsl:with-param name="greffe" select="pm/greffe"/>
|
||
</xsl:call-template>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- Decret 84 PM relevant de la CEE -->
|
||
<xsl:if test="pm/num_immat!=''">
|
||
<tr>
|
||
<td>
|
||
<xsl:call-template name="format_num_immat">
|
||
<xsl:with-param name="num_immat" select="pm/num_immat"/>
|
||
<xsl:with-param name="type_registre" select="pm/type_registre"/>
|
||
<xsl:with-param name="lieu" select="pm/lieu"/>
|
||
</xsl:call-template>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<tr>
|
||
<td>
|
||
<xsl:variable name="adresse_siege_pm">
|
||
<xsl:call-template name="search-adress">
|
||
<xsl:with-param name="adresse_id" select="pm/@adresse_siege"/>
|
||
</xsl:call-template>
|
||
</xsl:variable>
|
||
<xsl:value-of select="$adresse_siege_pm"/>
|
||
</td>
|
||
</tr>
|
||
<!-- representant de la pm -->
|
||
<xsl:if test="pm/pp or complement">
|
||
<tr>
|
||
<td>
|
||
représentée par
|
||
</td>
|
||
</tr>
|
||
<xsl:if test="pm/pp">
|
||
<tr>
|
||
<td>
|
||
<!-- personne physique -->
|
||
<xsl:call-template name="personnephysique">
|
||
<xsl:with-param name="personne" select="pm/pp"/>
|
||
</xsl:call-template>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- Complément -->
|
||
<xsl:if test="complement">
|
||
<tr>
|
||
<td>
|
||
<xsl:value-of select="complement"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:if>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="position() < last()">
|
||
<tr>
|
||
<td/>
|
||
<td>
|
||
<hr size="1"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:for-each>
|
||
</xsl:if>
|
||
<!-- ACTIVITE COMMERCIALE ======================================================================================== -->
|
||
<xsl:if test="activite_commerciale">
|
||
<tr>
|
||
<TD align="left" colspan="2">
|
||
<b>
|
||
<xsl:value-of select="activite_commerciale/libelle"/>
|
||
</b>
|
||
<HR size="1"/>
|
||
</TD>
|
||
</tr>
|
||
<!-- rgl 29 -->
|
||
<xsl:variable name="libelle_adresse">
|
||
<xsl:value-of select="activite_commerciale/libelle_adresse"/>
|
||
</xsl:variable>
|
||
<xsl:for-each select="ancestor::Extrait/dossier/etablissement[@mode=0][@activite_commerciale='true']">
|
||
<!-- rg 31 origine de la societe -->
|
||
<tr>
|
||
<xsl:if test="origine_societe">
|
||
<xsl:variable name="origine_societe">
|
||
<xsl:value-of select="origine_societe/libelle"/>
|
||
</xsl:variable>
|
||
<xsl:variable name="date_transfert">
|
||
<xsl:value-of select="origine_societe/date_transfert"/>
|
||
</xsl:variable>
|
||
<xsl:variable name="ancienRCS">
|
||
<xsl:value-of select="origine_societe/ancienRCS"/>
|
||
</xsl:variable>
|
||
<xsl:variable name="adresse_origine">
|
||
<xsl:value-of select="origine_societe/adresse"/>
|
||
</xsl:variable>
|
||
<td align="left" valign="top" class="label">Origine de la société :</td>
|
||
<td>
|
||
<xsl:value-of select="$origine_societe"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:if test="$adresse_origine!=''">
|
||
<xsl:value-of select="$adresse_origine"/>
|
||
</xsl:if>
|
||
<xsl:if test="$date_transfert!=''">
|
||
à compter du <xsl:value-of select="$date_transfert"/>
|
||
</xsl:if>
|
||
<xsl:if test="$ancienRCS!=''"> ancien numéro R.C.S <xsl:value-of select="$ancienRCS"/>
|
||
</xsl:if>
|
||
</td>
|
||
</xsl:if>
|
||
</tr>
|
||
<!--rg 44 dates locatons gerance -->
|
||
<xsl:if test="ancestor::Extrait/dossier/activite_commerciale/libelle_location!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
<xsl:value-of select="ancestor::Extrait/dossier/activite_commerciale/libelle_location"/>
|
||
</td>
|
||
<td>
|
||
du <xsl:value-of select="ancestor::Extrait/dossier/activite_commerciale/valeur_debut_location"/> jusqu'au <xsl:value-of select="ancestor::Extrait/dossier/activite_commerciale/valeur_fin_location"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:call-template name="etablissement">
|
||
<xsl:with-param name="etablissement" select="."/>
|
||
</xsl:call-template>
|
||
</xsl:for-each>
|
||
</xsl:if>
|
||
<!-- liste des observations -->
|
||
<xsl:if test="liste_observations">
|
||
<TD align="left" colspan="2">
|
||
<b>OBSERVATIONS</b>
|
||
<HR size="1"/>
|
||
</TD>
|
||
<xsl:for-each select="liste_observations/observation">
|
||
<xsl:if test="libelle!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
<xsl:variable name="numObservation">
|
||
<xsl:value-of select="@numero"/>
|
||
</xsl:variable>
|
||
<xsl:value-of select="@date"/>
|
||
<xsl:if test="$numObservation!=0"> numéro <xsl:value-of select="@numero"/>
|
||
</xsl:if>
|
||
</td>
|
||
<td>
|
||
<xsl:value-of select="libelle"/>
|
||
</td>
|
||
<th/>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:for-each>
|
||
</xsl:if>
|
||
<xsl:if test="etablissement/@mode='0' and etablissement/@activite_commerciale!='true'">
|
||
<tr>
|
||
<TD align="left" colspan="2">
|
||
<b>ETABLISSEMENTS DANS LE RESSORT DU GREFFE</b>
|
||
<HR size="1"/>
|
||
</TD>
|
||
</tr>
|
||
<xsl:for-each select="etablissement">
|
||
<xsl:if test="@mode='0' and @activite_commerciale!='true'">
|
||
<xsl:call-template name="etablissement">
|
||
<xsl:with-param name="etablissement" select="."/>
|
||
</xsl:call-template>
|
||
</xsl:if>
|
||
</xsl:for-each>
|
||
</xsl:if>
|
||
<!-- Etablissement hors le ressort -->
|
||
<xsl:if test="etablissement/@mode='1'">
|
||
<tr>
|
||
<TD align="left" colspan="2">
|
||
<b>ETABLISSEMENTS HORS LE RESSORT DU GREFFE</b>
|
||
<HR size="1"/>
|
||
</TD>
|
||
</tr>
|
||
<xsl:for-each select="etablissement">
|
||
<xsl:if test="@mode='1'">
|
||
<xsl:variable name="adresse_etablissement_HR">
|
||
<xsl:call-template name="search-adress">
|
||
<xsl:with-param name="adresse_id" select="@adresse"/>
|
||
</xsl:call-template>
|
||
</xsl:variable>
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Greffe de <xsl:value-of select="nom_greffe"/>
|
||
<xsl:text> </xsl:text>
|
||
(<xsl:value-of select="greffe"/>)
|
||
</td>
|
||
<td>
|
||
<xsl:value-of select="$adresse_etablissement_HR"/>
|
||
<xsl:if test="num_gest">
|
||
Numéro de gestion <xsl:value-of select="num_gest/millesime"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="num_gest/statut"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="num_gest/chrono"/>
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<xsl:if test="@type='2'">
|
||
<td align="left" valign="top" class="label">Etablissement secondaire</td>
|
||
</xsl:if>
|
||
<xsl:if test="@type='1'">
|
||
<td align="left" valign="top" class="label">Etablissement principal</td>
|
||
</xsl:if>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:for-each>
|
||
</xsl:if>
|
||
<xsl:if test="@isExpire and @isExpire='true'">
|
||
<tr>
|
||
<td align="left" colspan="2"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td align="left" colspan="2"> <table cellspacing='0' cellpadding='0'><tr><td>L'IMMATRICULATION DE L'AGENT COMMERCIAL EST CADUQUE A CE JOUR (Art. R134-7 du Code de Commerce)</td></tr></table></td>
|
||
</tr>
|
||
</xsl:if>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<h3>
|
||
<center class="titre">
|
||
Fin de l'extrait
|
||
</center>
|
||
</h3>
|
||
<p align="right"/>
|
||
</xsl:template>
|
||
<!-- calcul adresse -->
|
||
|
||
<xsl:template name="search-adress">
|
||
<xsl:param name="adresse_id"/>
|
||
<!--xsl:value-of select="$adresse_id"></xsl:value-of-->
|
||
<xsl:for-each select="ancestor::Extrait">
|
||
<xsl:for-each select="adresse[@id=$adresse_id]">
|
||
<xsl:variable name="nompostal" select="nompostal"/>
|
||
<xsl:if test="boolean(normalize-space($nompostal))">
|
||
<xsl:value-of select="$nompostal"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="numero" select="numero"/>
|
||
<xsl:if test="$numero!=''">
|
||
<xsl:value-of select="$numero"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="type" select="type"/>
|
||
<xsl:if test="$type!=''">
|
||
<xsl:value-of select="$type"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="voie" select="voie"/>
|
||
<xsl:if test="$voie!=''">
|
||
<xsl:value-of select="$voie"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="localite" select="localite"/>
|
||
<xsl:if test="$localite!=''">
|
||
<xsl:value-of select="$localite"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="code_postal" select="code_postal"/>
|
||
<xsl:if test="$code_postal!=''">
|
||
<xsl:value-of select="$code_postal"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="bureau_distributeur" select="bureau_distributeur"/>
|
||
<xsl:if test="$bureau_distributeur!=''">
|
||
<xsl:value-of select="$bureau_distributeur"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="pays" select="pays"/>
|
||
<xsl:if test="$pays!=''">
|
||
(<xsl:value-of select="$pays"/>)
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
</xsl:for-each>
|
||
</xsl:for-each>
|
||
</xsl:template>
|
||
|
||
<xsl:template name="search-adress_pays_domicile">
|
||
<xsl:param name="adresse_id"/>
|
||
<!--xsl:value-of select="$adresse_id"></xsl:value-of-->
|
||
<xsl:for-each select="ancestor::Extrait">
|
||
<xsl:for-each select="adresse[@id=$adresse_id]">
|
||
<xsl:variable name="nompostal" select="nompostal"/>
|
||
<xsl:if test="boolean(normalize-space($nompostal))">
|
||
<xsl:value-of select="$nompostal"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="numero" select="numero"/>
|
||
<xsl:if test="$numero!=''">
|
||
<xsl:value-of select="$numero"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="type" select="type"/>
|
||
<xsl:if test="$type!=''">
|
||
<xsl:value-of select="$type"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="voie" select="voie"/>
|
||
<xsl:if test="$voie!=''">
|
||
<xsl:value-of select="$voie"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="localite" select="localite"/>
|
||
<xsl:if test="$localite!=''">
|
||
<xsl:value-of select="$localite"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="code_postal" select="code_postal"/>
|
||
<xsl:if test="$code_postal!=''">
|
||
<xsl:value-of select="$code_postal"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="bureau_distributeur" select="bureau_distributeur"/>
|
||
<xsl:if test="$bureau_distributeur!=''">
|
||
<xsl:value-of select="$bureau_distributeur"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:variable name="pays" select="pays"/>
|
||
<xsl:if test="$pays!=''">
|
||
(<xsl:value-of select="$pays"/>)
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
</xsl:for-each>
|
||
</xsl:for-each>
|
||
</xsl:template>
|
||
|
||
<!-- gestion personne physique complete -->
|
||
<xsl:template name="personnephysique">
|
||
<xsl:param name="personne"/>
|
||
<table class="taille12" cellpadding="0" cellspacing="0">
|
||
<tr>
|
||
<td>
|
||
<!--xsl:value-of select="$personne"/-->
|
||
<xsl:variable name="civilite">
|
||
<xsl:value-of select="$personne/@civilite"/>
|
||
</xsl:variable>
|
||
<xsl:if test="$civilite!=''">
|
||
<xsl:value-of select="$civilite"/>
|
||
<xsl:text> </xsl:text>
|
||
</xsl:if>
|
||
<xsl:value-of select="$personne/nom"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="$personne/prenom"/>
|
||
</td>
|
||
</tr>
|
||
<!-- Num ident surtout utilis<69> par les repr<70>sentants de dirigeant mal stock<63> en base. -->
|
||
<xsl:if test="$personne/num_ident">
|
||
<tr>
|
||
<td>
|
||
<xsl:call-template name="format_num_ident">
|
||
<xsl:with-param name="num" select="$personne/num_ident"/>
|
||
<xsl:with-param name="greffe" select="$personne/greffe"/>
|
||
</xsl:call-template>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="$personne/nom_jeune_fille!=''">
|
||
<tr>
|
||
<td>
|
||
née <xsl:value-of select="$personne/nom_jeune_fille"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="$personne/nom_usage!=''">
|
||
<tr>
|
||
<td>
|
||
nom d'usage <xsl:value-of select="$personne/nom_usage"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="$personne/pseudonyme!=''">
|
||
<tr>
|
||
<td>
|
||
pseudonyme <xsl:value-of select="$personne/pseudonyme"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:variable name="date_naissance">
|
||
<xsl:value-of select="$personne/naissance/date"/>
|
||
</xsl:variable>
|
||
<xsl:if test="$date_naissance!=''">
|
||
<tr>
|
||
<td>
|
||
né(e) le <xsl:value-of select="$date_naissance"/> à <xsl:value-of select="$personne/naissance/lieu"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:if test="$personne/naissance/code_postal!=''">
|
||
<xsl:value-of select="$personne/naissance/code_postal"/>
|
||
</xsl:if>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:if test="$personne/naissance/@pays!=''">(<xsl:value-of select="$personne/naissance/@pays"/>)</xsl:if>
|
||
<xsl:if test="$personne/@nationalite!=''">
|
||
<tr>
|
||
<td>de nationalité <xsl:value-of select="$personne/@nationalite"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:variable name="anneeNaiss">
|
||
<xsl:value-of select="$personne/naissance/anneeNaiss"/>
|
||
</xsl:variable>
|
||
<xsl:variable name="moisNaiss">
|
||
<xsl:value-of select="$personne/naissance/moisNaiss"/>
|
||
</xsl:variable>
|
||
<!-- si date de naissance n'est pas renseignée mais que l'année oui on l'affiche -->
|
||
<xsl:if test="$date_naissance=''">
|
||
<xsl:if test="$anneeNaiss!='' and $personne/naissance/lieu!=''">
|
||
<tr>
|
||
<td>
|
||
né(e) en <xsl:value-of select="$moisNaiss"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="$personne/naissance/anneeNaiss"/> à <xsl:value-of select="$personne/naissance/lieu"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:if test="$personne/naissance/code_postal!=''">
|
||
<xsl:value-of select="$personne/naissance/code_postal"/>
|
||
</xsl:if>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:if test="$personne/naissance/@pays!=''">(<xsl:value-of select="$personne/naissance/@pays"/>)</xsl:if>
|
||
<xsl:if test="$personne/@nationalite!=''">
|
||
<tr>
|
||
<td>de nationalité <xsl:value-of select="$personne/@nationalite"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:if>
|
||
<xsl:if test="$personne/@adresse!=''">
|
||
<tr>
|
||
<td>
|
||
demeurant
|
||
<xsl:variable name="adresse_dirigeant_pp">
|
||
<xsl:call-template name="search-adress_pays_domicile">
|
||
<xsl:with-param name="adresse_id" select="$personne/@adresse"/>
|
||
</xsl:call-template>
|
||
</xsl:variable>
|
||
<xsl:value-of select="$adresse_dirigeant_pp"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="@refugie='1'">
|
||
<tr>
|
||
<td>
|
||
Réfugié
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</table>
|
||
</xsl:template>
|
||
<!-- gestion etablissement principal ou secondaire -->
|
||
<xsl:template name="etablissement">
|
||
<xsl:param name="etablissement"/>
|
||
<!--xsl:value-of select="$etablissement"/-->
|
||
<!-- rg 32 origine du fonds -->
|
||
<xsl:if test="$etablissement/origine_fonds!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Origine du fonds ou de l'activité :</td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/origine_fonds"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="$etablissement/gerance"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- rg 33 montant acquisitioin-->
|
||
<xsl:if test="$etablissement/montant_acquisition!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Montant de l'acquisition :</td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/montant_acquisition"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="$etablissement/devise_acquisition"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- rg 36 activite-->
|
||
<xsl:if test="$etablissement/activite!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Activité :</td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/activite"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="$etablissement/enseigne!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Enseigne :</td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/enseigne"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="$etablissement/@adresse">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
Adresse de l'établissement <xsl:if test="$etablissement/@type='1'">principal </xsl:if> :
|
||
</td>
|
||
<xsl:variable name="adresse_etablissement">
|
||
<xsl:call-template name="search-adress">
|
||
<xsl:with-param name="adresse_id" select="$etablissement/@adresse"/>
|
||
</xsl:call-template>
|
||
</xsl:variable>
|
||
<td>
|
||
<xsl:value-of select="$adresse_etablissement"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- rg 39 proprietaire actuel ou rg 40 ancien proprietaire -->
|
||
<xsl:if test="$etablissement/proprio">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
<xsl:value-of select="$etablissement/proprio/libelle_proprio"/> :
|
||
</td>
|
||
<td>
|
||
<!-- type personne physique -->
|
||
<xsl:if test="$etablissement/proprio/@type='1'">
|
||
<xsl:call-template name="personnephysique">
|
||
<xsl:with-param name="personne" select="$etablissement/proprio"/>
|
||
</xsl:call-template>
|
||
</xsl:if>
|
||
<xsl:if test="$etablissement/proprio/@type='0'">
|
||
<xsl:value-of select="$etablissement/proprio/raison_soc"/>
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
<xsl:if test="$etablissement/proprio/adresseBailleur!=''">
|
||
<tr>
|
||
<td></td>
|
||
<td><xsl:value-of select="$etablissement/proprio/adresseBailleur"/></td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="$etablissement/proprio/numRcsBailleur!=''">
|
||
<tr>
|
||
<td></td>
|
||
<td>
|
||
<i>n<EFBFBD> identification </i>
|
||
<xsl:value-of select="$etablissement/proprio/numRcsBailleur"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<tr>
|
||
<td/>
|
||
<td>
|
||
<xsl:if test="$etablissement/proprio/journal_parution_bail">
|
||
Journal <xsl:value-of select="$etablissement/proprio/journal_parution_bail/@libelle"/>
|
||
<xsl:if test="$etablissement/proprio/journal_parution_bail/@date_debut">
|
||
du <xsl:value-of select="$etablissement/proprio/journal_parution_bail/@date_debut"/>
|
||
</xsl:if>
|
||
<xsl:if test="$etablissement/proprio/journal_parution_bail/@date_fin">
|
||
au <xsl:value-of select="$etablissement/proprio/journal_parution_bail/@date_fin"/>
|
||
</xsl:if>
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="$etablissement/opposition/@greffe_creance!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
Déclarations de créances :
|
||
</td>
|
||
<td>
|
||
Au greffe de <xsl:value-of select="$etablissement/opposition/@greffe_creance"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- rg 41 opposition -->
|
||
<xsl:if test="$etablissement/opposition/lieu or $etablissement/opposition/commentaire">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Elections domiciles pour les oppositions :
|
||
</td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/opposition/lieu"/>
|
||
</td>
|
||
</tr>
|
||
<xsl:if test="$etablissement/opposition/commentaire">
|
||
<tr>
|
||
<td/>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/opposition/commentaire"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:if>
|
||
<xsl:if test="$etablissement/opposition/nom">
|
||
<tr>
|
||
<td align="left" valign="top">
|
||
<i>Oppositions pour la correspondance :</i>
|
||
</td>
|
||
<td align="left" valign="top">
|
||
<xsl:value-of select="$etablissement/opposition/nom"/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td/>
|
||
<td>
|
||
<!-- recherche adresse opposition -->
|
||
<xsl:variable name="adresse_opposition">
|
||
<xsl:call-template name="search-adress">
|
||
<xsl:with-param name="adresse_id" select="$etablissement/opposition/@adresse"/>
|
||
</xsl:call-template>
|
||
</xsl:variable>
|
||
<xsl:value-of select="$adresse_opposition"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="$etablissement/activite/@date_debut!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Commencement d'activité le :</td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/activite/@date_debut"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- mode exploitation -->
|
||
<xsl:if test="$etablissement/mode_exploit!=''">
|
||
<tr>
|
||
<td valign="top" class="label">Mode d'exploitation :</td>
|
||
<td>
|
||
<xsl:value-of disable-output-escaping="yes" select="$etablissement/mode_exploit"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- POUR LE GAGI -->
|
||
<xsl:if test="$etablissement/mode_exploit_comp!=''">
|
||
<tr>
|
||
<td></td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/mode_exploit_comp"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
|
||
<!-- debut exploitation -->
|
||
<xsl:if test="$etablissement/valeur_dateExploit">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
<xsl:value-of select="libelle_dateExploit"/>
|
||
</td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/valeur_dateExploit"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- Infos etablissment dans le ressort code APE-->
|
||
<xsl:if test="$etablissement/@mode=0 and $etablissement/@activite_commerciale!='true'">
|
||
<xsl:if test="$etablissement/codeAPE and $etablissement/codeAPE!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Code Ape</td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/codeAPE"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:if>
|
||
<!-- Infos etablissment dans le ressort nom commercial décret 84-->
|
||
<xsl:if test="$etablissement/@mode=0">
|
||
<xsl:if test="$etablissement/nom_commercial and $etablissement/nom_commercial!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Nom commercial</td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/nom_commercial"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:if>
|
||
<!-- rg 50 fonde de pouvoir -->
|
||
<xsl:if test="$etablissement/dirigeant">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">
|
||
<xsl:value-of select="$etablissement/dirigeant/qualite"/>
|
||
</td>
|
||
<td>
|
||
<xsl:call-template name="personnephysique">
|
||
<xsl:with-param name="personne" select="$etablissement/dirigeant/pp"/>
|
||
</xsl:call-template>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<!-- bodac -->
|
||
<xsl:if test="$etablissement/bodacc!=''">
|
||
<tr>
|
||
<td align="left" valign="top" class="label">Date de premier avis BODACC </td>
|
||
<td>
|
||
<xsl:value-of select="$etablissement/bodacc"/>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:template>
|
||
|
||
<xsl:template match="num_gest">
|
||
<xsl:value-of select="millesime"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:choose>
|
||
<xsl:when test="statut = 'P' or statut = 'M'">AC</xsl:when>
|
||
<xsl:otherwise>
|
||
<xsl:value-of select="statut"/>
|
||
</xsl:otherwise>
|
||
</xsl:choose>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="chrono"/>
|
||
</xsl:template>
|
||
|
||
<xsl:template name="format_num_ident">
|
||
<xsl:param name="num"/>
|
||
<xsl:param name="greffe"/>
|
||
<xsl:text>(</xsl:text>
|
||
<!-- Il peut y avoir le statut au acte début du siren -->
|
||
<xsl:value-of select="format-number (substring($num,string-length($num)-9+1,string-length($num)),'000 000 000','francais')"/>
|
||
<xsl:text> R.C.S </xsl:text>
|
||
<xsl:value-of select="$greffe"/>
|
||
<xsl:text>)</xsl:text>
|
||
</xsl:template>
|
||
|
||
<xsl:template name="format_num_immat">
|
||
<xsl:param name="num_immat"/>
|
||
<xsl:param name="type_registre"/>
|
||
<xsl:param name="lieu"/>
|
||
<xsl:value-of select="$num_immat"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="$type_registre"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="$lieu"/>
|
||
</xsl:template>
|
||
|
||
|
||
<xsl:template match="naissance" >
|
||
<xsl:if test="date">
|
||
<tr>
|
||
<td valign="top" class="label">Né(e) le :</td>
|
||
<td>
|
||
<xsl:value-of select="date"/>
|
||
<xsl:text> à </xsl:text>
|
||
<xsl:value-of select="lieu"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="code_postal"/>
|
||
<xsl:if test="@pays != ''">
|
||
(<xsl:value-of select="@pays"/>)
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
<xsl:if test="anneeNaiss">
|
||
<tr>
|
||
<td valign="top" class="label">Né(e) en :</td>
|
||
<td>
|
||
<xsl:value-of select="moisNaiss"/>
|
||
<xsl:value-of select="anneeNaiss"/>
|
||
<xsl:text> à </xsl:text>
|
||
<xsl:value-of select="lieu"/>
|
||
<xsl:text> </xsl:text>
|
||
<xsl:value-of select="code_postal"/>
|
||
<xsl:if test="@pays != ''">
|
||
(<xsl:value-of select="@pays"/>)
|
||
</xsl:if>
|
||
</td>
|
||
</tr>
|
||
</xsl:if>
|
||
</xsl:template>
|
||
|
||
</xsl:stylesheet>
|