<CompteLibelle pos="0" Libelle1="EXCEDENT BRUT D'EXPLOITATION" Class="bold"/>
<CompteLibelle pos="1" Libelle1="(OU INSUFFISANCE BRUTE D'EXPLOITATION)" Libelle2="*"/>
<CompteLibelle pos="2" Libelle1="+ ou -Variations intérêts compensateurs (c/16883) (1)"/>
- <CompteLibelle pos="3" Libelle1="+ Dotations aux amortissements des immobilisations locatives et baux à long terme<br/>(c/681112-681113-681114-681122-6811(2s3auf 68112315 et 6811235)-681124(sauf 68112415 et 6811245) )" Libelle2="*"/>
+ <CompteLibelle pos="3" Libelle1="+ Dotations aux amortissements des immobilisations locatives et baux à long terme<br/>(c/681112-681113-681114-681115-681122-6811(2s3auf 68112315 et 6811235)-681124(sauf 68112415 et 6811245) )" Libelle2="*"/>
<CompteLibelle Type="vide"/>
<CompteLibelle pos="4" Libelle1="+ Dotations aux provisions réglementées (c/68725) (Amortissements dérogatoires)" Libelle2="*"/>
<CompteLibelle Type="vide"/>
<CompteLibelle pos="16" Libelle1="Sauf dotations aux amortissements, aux dépréc. et aux provis. (c/686, sauf c/6863)" Libelle2="*" Type="sous.total"/>
<CompteLibelle pos="17" Libelle1="" Type="total.sous.total"/>
<CompteLibelle Type="vide"/>
- <CompteLibelle pos="18" Libelle1="-REMBOURSEMENT D'EMPRUNTS LOCATIFS (Etat du passif code 2-21"financements définitifs") (3)" Class="bold"/>
+ <CompteLibelle pos="18" Libelle1="-REMBOURSEMENT D'EMPRUNTS LOCATIFS (Etat du passif code 2-21 C10 "financements définitifs") (3)" Class="bold"/>
<CompteLibelle Type="vide"/>
<CompteLibelle pos="19" Libelle1="AUTOFINANCEMENT COURANT -HLM" Class="bold"/>
<CompteLibelle Type="vide"/>
<CompteLibelle pos="15" Libelle1="-Quote-partdes subventions d'investissement virée au résultat de l'exercice (c/777)" Libelle2="*"/>
<CompteLibelle Type="vide"/>
<CompteLibelle pos="16" Libelle1="CAPACITE D'AUTOFINANCEMENT(PCG) (2)" Libelle2="" Class="bold"/>
- <CompteLibelle pos="17" Libelle1="-Remboursements emprunts locatifs (Etat du passif code 2.21 "financements définitifs") (3)" Libelle2=""/>
+ <CompteLibelle pos="17" Libelle1="-Remboursements emprunts locatifs (Etat du passif code 2.21 C10 "financements définitifs") (3)" Libelle2=""/>
<CompteLibelle pos="18" Libelle1="+ ou -Variations intérêts compensateurs ou différés (c/16883) (1)" Libelle2=""/>
<CompteLibelle pos="19" Libelle1="-Dotations aux amortissements des charges intérêts compensateurs à répartir (c/6863)" Libelle2="*"/>
<CompteLibelle Type="vide"/>
+++ /dev/null
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE xsl:stylesheet [
-<!ENTITY nbsp " ">
-]>
-<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.xemelios.org/namespaces#cg-1.0" xmlns:n="http://www.xemelios.org/namespaces#cg-1.0" xmlns:added="http://projets.admisource.gouv.fr/xemelios/namespaces#added" version="2.0">
- <xsl:character-map name="accents">
- <xsl:output-character character="à" string="&#224;"/>
- <xsl:output-character character="é" string="&#233;"/>
- <xsl:output-character character="è" string="&#232;"/>
- <xsl:output-character character="ê" string="&#234;"/>
- <xsl:output-character character="ë" string="&#235;"/>
- <xsl:output-character character="î" string="&#238;"/>
- <xsl:output-character character="ï" string="&#239;"/>
- <xsl:output-character character="ô" string="&#244;"/>
- <xsl:output-character character="ù" string="&#249;"/>
- <xsl:output-character character="°" string="&#176;"/>
- </xsl:character-map>
-
- <xsl:output method="xhtml" indent="yes" use-character-maps="accents" encoding="ISO-8859-1"/>
- <xsl:decimal-format name="decformat" decimal-separator="," grouping-separator=" " digit="#" pattern-separator=";" NaN="NaN" minus-sign="-"/>
-
- <!-- Inclusion des XSL externes -->
- <xsl:include href="common-xsl/Title.xsl"/>
- <xsl:include href="common-xsl/Style.xsl"/>
- <xsl:include href="common-xsl/Error.xsl"/>
- <xsl:include href="common-xsl/Navigate.xsl"/>
- <xsl:include href="common-xsl/Header.xsl"/>
- <xsl:include href="common-xsl/Number.xsl"/><xsl:include href="common-xsl/Footer.xsl"/>
-
- <!-- Paramètres Web -->
- <xsl:param name="is.web">-1</xsl:param>
- <xsl:param name="context.path"/>
-
- <!-- Paramètres d'entrée -->
- <xsl:param name="show.formulaire"/>
- <xsl:param name="browser-destination"/>
-
- <!-- Paramètres d'entrée de la liste de résultat -->
- <xsl:param name="intitule">0</xsl:param>
-
- <!-- Paramètres d'erreur -->
- <xsl:param name="error.message">nomessage</xsl:param>
-
- <!-- Variables -->
- <xsl:variable name="page-format" select="paysage"/>
- <xsl:variable name="NumPage" select="/n:CompteGestion/n:SP_BilanActif/n:PageSP_BilanActif/n:Pied/@NumPage"/>
- <xsl:variable name="isLastPage" select="/n:CompteGestion/n:SP_BilanActif/n:PageSP_BilanActif/@added:isLastPage"/>
-
-
- <!-- pour eviter les sorties parasites de tags non matches -->
- <xsl:template match="*"/>
-
- <xsl:variable name="Entete">
- <xsl:copy-of select="/n:CompteGestion/n:Entete"/>
- </xsl:variable>
-
- <xsl:template match="/n:CompteGestion">
- <html>
- <head>
- <!--title>
- <xsl:choose>
- <xsl:when test="$Entete//n:Nomenclature/@V='M21'">Gestion Patrimoniale et Financière</xsl:when>
- <xsl:when test="$Entete//n:Nomenclature/@V='M31'">BILAN-ACTIF</xsl:when>
- <xsl:otherwise>Situation Patrimoniale - Bilan Actif</xsl:otherwise>
- </xsl:choose>
- </title-->
- <xsl:call-template name="title">
- <xsl:with-param name="Entete" select="//n:Entete"/>
- <xsl:with-param name="etat">
- <xsl:choose>
- <xsl:when test="$Entete//n:Nomenclature/@V='M21'">Gestion Patrimoniale et Financière</xsl:when>
- <xsl:when test="$Entete//n:Nomenclature/@V='M31'">BILAN-ACTIF</xsl:when>
- <xsl:otherwise>Situation Patrimoniale - Bilan Actif</xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
- <xsl:call-template name="style"/>
- </head>
- <body width="100%">
- <xsl:if test="$error.message!='nomessage'">
- <xsl:attribute name="onload">javascript:showDialog('<xsl:value-of select="$error.message"/>');</xsl:attribute>
- </xsl:if>
- <xsl:call-template name="Error"><!--xsl:with-param name="error.message" select="$error.message"/--></xsl:call-template>
- <xsl:call-template name="navigate">
- <xsl:with-param name="docId">cg-colloc</xsl:with-param>
- <xsl:with-param name="etatId">SP_BilanActif</xsl:with-param>
- <xsl:with-param name="elementId">PageSP_BilanActif</xsl:with-param>
- <xsl:with-param name="sous.elementId">LigneSP_BilanActif</xsl:with-param>
- <xsl:with-param name="NumPage" select="$NumPage"/>
- <xsl:with-param name="isLastPage" select="$isLastPage"/>
- <xsl:with-param name="Entete" select="$Entete"/>
- <xsl:with-param name="show.formulaire" select="$show.formulaire"/>
- <xsl:with-param name="show.formulaire.compte" select="0"/>
- <xsl:with-param name="show.depense.recette" select="0"/>
- <xsl:with-param name="is.web" select="$is.web"/>
- <xsl:with-param name="context.path" select="$context.path"/>
- </xsl:call-template>
- <xsl:call-template name="header">
- <xsl:with-param name="Entete" select="$Entete"/>
- <xsl:with-param name="Titre">
- <xsl:choose>
- <xsl:when test="$Entete//n:Nomenclature/@V='M21'">COMPTE FINANCIER <xsl:value-of select="$Entete//n:Exercice/@V"/></xsl:when>
- <xsl:when test="$Entete//n:Nomenclature/@V='M31'">BILAN-ACTIF</xsl:when>
- <xsl:otherwise>Situation Patrimoniale - Bilan Actif</xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- <xsl:with-param name="Titre.Plus">
- <xsl:choose>
- <xsl:when test="$Entete//n:Nomenclature/@V='M21'"><h2>GESTION PATRIMONIALE ET FINANCIERE</h2></xsl:when>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
- <xsl:call-template name="mainTable">
- <xsl:with-param name="el" select="/n:CompteGestion/n:SP_BilanActif/n:PageSP_BilanActif"/>
- </xsl:call-template>
- <p>
- <xsl:call-template name="footer"><xsl:with-param name="num.page" select="$NumPage"/><xsl:with-param name="tracabilite"><xsl:copy-of select="//n:Tracabilite"/></xsl:with-param></xsl:call-template>
- </p>
-
- <xsl:call-template name="navigate">
- <xsl:with-param name="docId">cg-colloc</xsl:with-param>
- <xsl:with-param name="etatId">SP_BilanActif</xsl:with-param>
- <xsl:with-param name="elementId">PageSP_BilanActif</xsl:with-param>
- <xsl:with-param name="sous.elementId">LigneSP_BilanActif</xsl:with-param>
- <xsl:with-param name="NumPage" select="$NumPage"/>
- <xsl:with-param name="isLastPage" select="$isLastPage"/>
- <xsl:with-param name="Entete" select="$Entete"/>
- <xsl:with-param name="show.formulaire" select="$show.formulaire"/>
- <xsl:with-param name="show.formulaire.compte" select="0"/>
- <xsl:with-param name="show.depense.recette" select="0"/>
- <xsl:with-param name="is.web" select="$is.web"/>
- <xsl:with-param name="context.path" select="$context.path"/>
- </xsl:call-template>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template name="mainTable">
- <xsl:param name="el"/>
-
- <xsl:if test="$Entete//n:Nomenclature/@V='M21'"><h3 style="text-align: left;">BILAN</h3></xsl:if>
- <table width="100%" class="bordered" id="main">
- <colgroup>
- <xsl:choose>
- <xsl:when test="$Entete//n:Nomenclature/@V='M31'">
- <col width="24px"/>
- <col width="20%"/>
- <col/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- </xsl:when>
- <xsl:otherwise>
- <col width="5%"/>
- <col width="35%"/>
- <col width="15%"/>
- <col width="15%"/>
- <col width="15%"/>
- <col width="15%"/>
- </xsl:otherwise>
- </xsl:choose>
- </colgroup>
- <thead>
- <xsl:choose>
- <xsl:when test="$Entete//n:Nomenclature/@V='M31'">
- <tr class="titre">
- <td rowspan="2" colspan="2" class="bold titre bordureRight center">N° de compte</td>
- <td rowspan="2" class="bold titre bordureRight center">ACTIF</td>
- <td colspan="4" class="bold titre bordureRight bordureBottom center">Exercice <xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice"/></td>
- <td class="bold titre bordureRight bordureBottom center">Exercice <xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice - 1"/></td>
- </tr>
- <tr>
- <td class="bold titre bordureRight center">Brut</td>
- <td class="bold titre bordureRight center">Amortissements<br/>et dépréciations</td>
- <td class="bold titre bordureRight center">Net</td>
- <td class="bold titre bordureRight center">Totaux<br/>partiels</td>
- <td class="bold titre bordureRight center">Net</td>
- </tr>
- <tr>
- <td colspan="2" class="titre bordureBottom bordureRight center">1</td>
- <td class="titre bordureBottom bordureRight center">2</td>
- <td class="titre bordureBottom bordureRight center">3</td>
- <td class="titre bordureBottom bordureRight center">4</td>
- <td class="titre bordureBottom bordureRight center">5 = (3)-(4)</td>
- <td class="titre bordureBottom bordureRight center">6</td>
- <td class="titre bordureBottom bordureRight center">7</td>
- </tr>
- </xsl:when>
- <xsl:otherwise>
- <tr class="titre">
- <td colspan="2" rowspan="2" class="bold titre bordered center">ACTIF</td>
- <td colspan="3" class="bold titre bordered center">Exercice <xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice"/></td>
- <td class="bold titre bordered center">Exercice <xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice - 1"/></td>
- </tr>
- <tr>
- <td class="bold titre bordered center">BRUT</td>
- <td class="bold titre bordered center">AMORTISSEMENTS<br/>ET DEPRECIATIONS</td>
- <td class="bold titre bordered center">NET</td>
- <td class="bold titre bordered center">NET</td>
- </tr>
- </xsl:otherwise>
- </xsl:choose>
- </thead>
- <xsl:choose>
- <xsl:when test="//n:Nomenclature/@V='M21'">
- <xsl:call-template name="donnees.M21">
- <xsl:with-param name="el" select="$el"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="//n:Nomenclature/@V='M31'">
- <xsl:call-template name="donnees.M31">
- <xsl:with-param name="el" select="$el"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:for-each select="$el/n:LigneEnteteSP_BilanActif">
- <tbody>
- <tr>
- <xsl:element name="td">
- <xsl:attribute name="rowspan">
- <xsl:value-of select="count(../n:LigneSP_BilanActif[not(contains(lower-case(@IntituleRubriqueA),'total'))])+1"/>
- </xsl:attribute>
- <xsl:attribute name="class">bold titre2 bordered</xsl:attribute>
- <xsl:value-of select="@Titre1"/> <xsl:value-of select="@Titre2"/> <xsl:value-of select="@Titre3"/>
- </xsl:element>
- <!--td class="bordureTopRight" colspan="5"/-->
- </tr>
- <xsl:call-template name="donnees">
- <xsl:with-param name="el" select="$el"/>
- </xsl:call-template>
- </tbody>
- </xsl:for-each>
- </xsl:otherwise>
- </xsl:choose>
- </table>
- <xsl:if test="$el/@Modele='503'">
- <table width="100%"><colgroup><col/><col width="33%"/><col/></colgroup><tbody>
- <tr><td class="center">(1) dont droit au bail</td><td class="center">(2) dont à moins d'un an</td><td class="center">(3) dont à plus d'un an</td></tr>
- </tbody></table>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="donnees">
- <xsl:param name="el"/>
-
- <xsl:for-each select="$el/n:LigneSP_BilanActif">
- <tr>
- <xsl:choose>
- <xsl:when test="$intitule != '0' and @IntituleRubriqueA=$intitule">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="contains(lower-case(@IntituleRubriqueA),'total') and position()!=count(../n:LigneSP_BilanActif)">
- <td class="libelleLigne bordered bold" colspan="2">
- <xsl:value-of select="@IntituleRubriqueA"/>
- </td>
- <td class="montant bordered bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@Brut"/>
- </xsl:call-template>
- </td>
- <td class="montant bordered bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@AmortProv"/>
- </xsl:call-template>
- </td>
- <td class="montant bordered bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN"/>
- </xsl:call-template>
- </td>
- <td class="montant bordered bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN_1"/>
- </xsl:call-template>
- </td>
- </xsl:when>
- <xsl:when test="contains(lower-case(@IntituleRubriqueA),'total') and position()=count(../n:LigneSP_BilanActif)">
- <td class="libelleLigne borderedBold bold" colspan="2">
- <xsl:value-of select="@IntituleRubriqueA"/>
- </td>
- <td class="montant borderedBold bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@Brut"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@AmortProv"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN_1"/>
- </xsl:call-template>
- </td>
- </xsl:when>
- <xsl:otherwise>
- <td class="libelleLigne bordureRight">
- <xsl:value-of select="@IntituleRubriqueA"/>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@Brut"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@AmortProv"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN_1"/>
- </xsl:call-template>
- </td>
- </xsl:otherwise>
- </xsl:choose>
- </tr>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="donnees.M21">
- <xsl:param name="el"/>
-
- <xsl:for-each select="$el/n:LigneSP_BilanActif">
- <xsl:choose>
- <xsl:when test="position()=1 or position()=6 or position()=13 or position()=18 or position()=24">
- <tr>
- <xsl:choose>
- <xsl:when test="$intitule != '0' and @IntituleRubriqueA=$intitule">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="((position()-1) mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="position()=1">
- <td class="bordureRight" style="background-color: white;"> </td>
- <td class="bordureRight bordureTop bold bold">IMMOBILISATIONS INCORPORELLES:</td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- </xsl:when>
- <xsl:when test="position()=6">
- <td class="bordureRight bordureTop bold bold">IMMOBILISATIONS CORPORELLES:</td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- </xsl:when>
- <xsl:when test="position()=13">
- <td class="bordureRight bordureTop bold bold">IMMOBILISATIONS FINANCIERES:</td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- </xsl:when>
- <xsl:when test="position()=18">
- <td class="bordureRight"> </td>
- <td class="bordureRight bold">STOCKS ET EN-COURS:</td>
- <td class="montant bordureRight bold"> </td>
- <td class="montant bordureRight bold"> </td>
- <td class="montant bordureRight bold"> </td>
- <td class="montant bordureRight bold"> </td>
- </xsl:when>
- <xsl:when test="position()=24">
- <td class="bordureRight bordureTop bold bold">CREANCES D'EXPLOITATION :</td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- <td class="montant bordureRight bordureTop bold"> </td>
- </xsl:when>
- </xsl:choose>
- </tr>
- </xsl:when>
- </xsl:choose>
- <tr>
- <xsl:choose>
- <xsl:when test="$intitule != '0' and @IntituleRubriqueA=$intitule">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <!--xsl:choose>
- <xsl:when test="contains(lower-case(@IntituleRubriqueA),'total') and position()!=count(../n:LigneSP_BilanActif)">
- <td class="libelleLigne bordered bold" colspan="2">
- <xsl:value-of select="@IntituleRubriqueA"/>
- </td>
- <td class="montant bordered bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@Brut"/>
- </xsl:call-template>
- </td>
- <td class="montant bordered bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@AmortProv"/>
- </xsl:call-template>
- </td>
- <td class="montant bordered bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN"/>
- </xsl:call-template>
- </td>
- <td class="montant bordered bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN_1"/>
- </xsl:call-template>
- </td>
- </xsl:when>
- <xsl:when test="contains(lower-case(@IntituleRubriqueA),'total') and position()=count(../n:LigneSP_BilanActif)">
- <td class="libelleLigne borderedBold bold" colspan="2">
- <xsl:value-of select="@IntituleRubriqueA"/>
- </td>
- <td class="montant borderedBold bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@Brut"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@AmortProv"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN_1"/>
- </xsl:call-template>
- </td>
- </xsl:when>
- <xsl:otherwise-->
- <xsl:choose>
- <xsl:when test="position()=1">
- <td rowspan="19" class="center bold bordureRight bordureBottom">
- <xsl:choose>
- <xsl:when test="//n:*/@Modele='23'">ACTIF<br/><br/><br/>IMMOBILISE</xsl:when>
- <xsl:otherwise> </xsl:otherwise>
- </xsl:choose>
- </td>
- </xsl:when>
- <xsl:when test="position()=18">
- <td rowspan="16" class="center bold bordureRight bordureBottom">
- <xsl:choose>
- <xsl:when test="//n:*/@Modele='23'">ACTIF<br/><br/><br/>CIRCULANT</xsl:when>
- <xsl:otherwise> </xsl:otherwise>
- </xsl:choose>
- </td>
- </xsl:when>
- <xsl:when test="position()=33">
- <td rowspan="7" class="center bold bordureRight bordureBottom">
- <xsl:choose>
- <xsl:when test="//n:*/@Modele='23'">COMPTES DE<br/><br/><br/>REGULARISATION</xsl:when>
- <xsl:otherwise> </xsl:otherwise>
- </xsl:choose>
- </td>
- </xsl:when>
- </xsl:choose>
- <td>
- <xsl:choose>
- <xsl:when test="position()=17"><xsl:attribute name="class">borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:when test="position()=29 or position()=30 or position()=31 or position()=32"><xsl:attribute name="class">bordureRight bold</xsl:attribute></xsl:when>
- <xsl:when test="position()=33"><xsl:attribute name="class">borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:when test="position()=39"><xsl:attribute name="class">borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="position()=1">. Frais d'établissement</xsl:when>
- <xsl:when test="position()=2">. Frais d'études,de recherche et développement</xsl:when>
- <xsl:when test="position()=3">. Concessions et droit similaires, brevets, licences, marques et procédés, droits et valeurs similaires</xsl:when>
- <xsl:when test="position()=4">. Autres immobilisations incorporelles</xsl:when>
- <xsl:when test="position()=5">. Immobilisations incorporelles en cours</xsl:when>
- <xsl:when test="position()=6">. Terrains</xsl:when>
- <xsl:when test="position()=7">. Constructions</xsl:when>
- <xsl:when test="position()=8">. Installations techniques, matériel et outillage industriel</xsl:when>
- <xsl:when test="position()=9">. Autres immobilisations corporelles</xsl:when>
- <xsl:when test="position()=10">. Immobilisations corporelles en cours</xsl:when>
- <xsl:when test="position()=11">. Immobilisations reçues en affectation</xsl:when>
- <xsl:when test="position()=12">. Immobilisations affectées ou mises à disposition</xsl:when>
- <xsl:when test="position()=13">. Participations et créances rattachées à des participations</xsl:when>
- <xsl:when test="position()=14">. Autres titres immobilisés</xsl:when>
- <xsl:when test="position()=15">. Prêts</xsl:when>
- <xsl:when test="position()=16">. Autres</xsl:when>
- <xsl:when test="position()=17">TOTAL I</xsl:when>
- <xsl:when test="position()=18">. Matières premières</xsl:when>
- <xsl:when test="position()=19">. Autres approvisionnements</xsl:when>
- <xsl:when test="position()=20">. En-coursde productions de biens</xsl:when>
- <xsl:when test="position()=21">. Produits</xsl:when>
- <xsl:when test="position()=22">. Marchandises</xsl:when>
- <xsl:when test="position()=23">. Autres stocks</xsl:when>
- <xsl:when test="position()=24">. Hospitalisés et consultants</xsl:when>
- <xsl:when test="position()=25">. Caisse pivot</xsl:when>
- <xsl:when test="position()=26">. Autres tiers payants</xsl:when>
- <xsl:when test="position()=27">. Créances irrecouvrables admises en non-valeur</xsl:when>
- <xsl:when test="position()=28">. Autres</xsl:when>
- <xsl:when test="position()=29">CREANCES DIVERSES :</xsl:when>
- <xsl:when test="position()=30">VALEURS MOBILIERES DE PLACEMENT</xsl:when>
- <xsl:when test="position()=31">DISPONIBILITES</xsl:when>
- <xsl:when test="position()=32">CHARGES CONSTATEES D'AVANCE</xsl:when>
- <xsl:when test="position()=33">TOTAL II</xsl:when>
- <xsl:when test="position()=34">CHARGES A REPARTIR SUR PLUSIEURS EXERCICES</xsl:when>
- <xsl:when test="position()=35">PRIMES DE REMBOURSEMENT DES OBLIGATIONS</xsl:when>
- <xsl:when test="position()=36">DEPENSES A CLASSER OU REGULARISER</xsl:when>
- <xsl:when test="position()=37">DOTATIONS ATTENDUES</xsl:when>
- <xsl:when test="position()=38">ECARTS DE CONVERSION D'ACTIF</xsl:when>
- <xsl:when test="position()=39">TOTAL GENERAL</xsl:when>
- </xsl:choose>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="position()=17"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:when test="position()=33"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:when test="position()=39"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">montant bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@Brut"/>
- </xsl:call-template>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="position()=17"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:when test="position()=33"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:when test="position()=39"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">montant bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@AmortProv"/>
- </xsl:call-template>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="position()=17"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:when test="position()=33"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:when test="position()=39"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">montant bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN"/>
- </xsl:call-template>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="position()=17"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:when test="position()=33"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:when test="position()=39"><xsl:attribute name="class">montant borderedBold bold center</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">montant bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN_1"/>
- </xsl:call-template>
- </td>
- <!--/xsl:otherwise>
- </xsl:choose-->
- </tr>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="donnees.M31">
- <xsl:param name="el"/>
-
- <xsl:variable name="comptes.libelles">
- <ComptesLibelles>
- <Type Modele="501">
- <CompteLibelle Compte="20" Libelle="IMMOBILISATIONS INCORPORELLES"/>
- <CompteLibelle Compte="201" Libelle="Frais d'établissement"/>
- <CompteLibelle Compte="2082 -2083 -2084" Libelle="Baux emphytéotiques, à construction et à réhabilitation"/>
- <CompteLibelle Compte="203 -205 -2088" Libelle="Autres (1)"/>
- <CompteLibelle Compte="232-237" Libelle="Immobilisations incorporelles en cours/ avances et acomptes"/>
- <CompteLibelle Compte="21" Libelle="IMMOBILISATIONS CORPORELLES"/>
- <CompteLibelle Compte="2111" Libelle="Terrains nus"/>
- <CompteLibelle Compte="2112 -2113 -2115" Libelle="Terrains aménagés, loués, bâtis"/>
- <CompteLibelle Compte="212" Libelle="Agencements et aménagements de terrains"/>
- <CompteLibelle Compte="213 (sauf 21315, 2135 et 21318)" Libelle="Constructions locatives (sur sol propre)"/>
- <CompteLibelle Compte="214 (sauf 21415, 2145 et 21418)" Libelle="Constructions locatives (sur sol d'autrui)"/>
- <CompteLibelle Compte="21315 -2135 -21415 -2145" Libelle="Bâtiments administratifs"/>
- <CompteLibelle Compte="21318 -21418" Libelle="Autres ensembles immobiliers"/>
- <CompteLibelle Compte="215 -218" Libelle="Instal.techniques, matériel, outillage et autres immo.corporelle"/>
- <CompteLibelle Compte="22" Libelle="Immeubles en location-vente,reçus en affectation"/>
- <CompteLibelle Compte="23" Libelle="IMMOBILISATIONS CORPORELLES EN COURS"/>
- <CompteLibelle Compte="2312" Libelle="Terrains"/>
- <CompteLibelle Compte="2313 -2314 -2318" Libelle="Constructions et autres immobilisations corporelles en cours"/>
- <CompteLibelle Compte="238" Libelle="Avances et acomptes versés sur immobilisations corporelles"/>
- <CompteLibelle Compte="26-27" Libelle="IMMOBILISATIONS FINANCIERES (2)"/>
- <CompteLibelle Compte="261 -266" Libelle="Participations"/>
- <CompteLibelle Compte="271 -272" Libelle="Titres immobilisés"/>
- <CompteLibelle Compte="2781 -2782" Libelle="Prêts pour accession"/>
- <CompteLibelle Compte="274 -275 -2761" Libelle="Autres"/>
- <CompteLibelle Compte="2768" Libelle="Intérêts courus"/>
- <CompteLibelle Compte="" Libelle="( I )..."/>
- </Type>
- <Type Modele="502">
- <CompteLibelle Compte="" Libelle="STOCKS ET EN-COURS"/>
- <CompteLibelle Compte="31 (net 319)" Libelle="Terrains à aménager"/>
- <CompteLibelle Compte="33" Libelle="Imeubles en cours"/>
- <!--CompteLibelle Compte="" Libelle="Immeubles achevés :"/-->
- <CompteLibelle Compte="35 sauf 358 (net 359)" Libelle="Disponibles à la vente"/>
- <CompteLibelle Compte="358" Libelle="Temporairement loués"/>
- <CompteLibelle Compte="37" Libelle="Immeubles acquis par résolutions de vente ou adjudication"/>
- <CompteLibelle Compte="32" Libelle="Approvisionnements"/>
- <CompteLibelle Compte="409" Libelle="FOURNISSEURS DEBITEURS"/>
- <CompteLibelle Compte="" Libelle="CREANCES D'EXPLOITATION"/>
- <CompteLibelle Compte="411 (sauf 4113)" Libelle="Locataires et organismes payeurs d'APL"/>
- <CompteLibelle Compte="412 -4113" Libelle="Créances sur acquéreurs"/>
- <CompteLibelle Compte="414 -417" Libelle="Clients -autres activités"/>
- <CompteLibelle Compte="415" Libelle="Emprunteurs et locataires -acquéreurs"/>
- <CompteLibelle Compte="416" Libelle="Clients douteux ou litigieux"/>
- <CompteLibelle Compte="418" Libelle="Produits non encore facturés"/>
- <CompteLibelle Compte="42 -43 -44 (sauf 441)" Libelle="Autres"/>
- <CompteLibelle Compte="441" Libelle="Subventions à recevoir"/>
- <CompteLibelle Compte="" Libelle="CREANCES DIVERSES (3)"/>
- <CompteLibelle Compte="46 (sauf 461)" Libelle="Débiteurs divers"/>
- <CompteLibelle Compte="461 (sauf 4615)" Libelle="Opérations pour le compte de tiers"/>
- <CompteLibelle Compte="4615" Libelle="Opérations d'aménagement"/>
- <CompteLibelle Compte="47 (sauf 476-47821)" Libelle="Comptes transitoires ou d'attente"/>
- <CompteLibelle Compte="50" Libelle="VALEURS IMMOBILIERS DE PLACEMENT"/>
- <CompteLibelle Compte="" Libelle="DISPONIBILITES"/>
- <CompteLibelle Compte="511" Libelle="Valeur à l'encaissement"/>
- <CompteLibelle Compte="515" Libelle="Compte au Trésor"/>
- <CompteLibelle Compte="516" Libelle="Compte à terme"/>
- <CompteLibelle Compte="518" Libelle="Intérêts courus"/>
- <CompteLibelle Compte="Autres 51" Libelle="Autres établissements financiers et assimilés"/>
- <CompteLibelle Compte="53 -54" Libelle="Caisse, régies d'avanceset accréditifs"/>
- </Type>
- <Type Modele="503">
- <CompteLibelle Compte="486" Libelle="Charges constatées d'avance"/>
- <CompteLibelle Compte="" Libelle="( II )..."/>
- <CompteLibelle Compte="481" Libelle="Charges à répartir sur plusieurs exercices ( III )"/>
- <CompteLibelle Compte="169" Libelle="Primes de remboursement des obligations ( IV )"/>
- <CompteLibelle Compte="476-4781" Libelle="Différences de conversion ou d'indexation -Actif ( V )"/>
- <CompteLibelle Compte="" Libelle="TOTAL GENERAL (I + II + III + IV + V )"/>
- </Type>
- </ComptesLibelles>
- </xsl:variable>
-
- <xsl:variable name="Modele" select="$el/@Modele"/>
-
- <xsl:for-each select="$el/n:LigneSP_BilanActif">
- <xsl:variable name="pos" select="position()"/>
-
- <xsl:choose>
- <xsl:when test="position()=1 or position()=6 or position()=13 or position()=18 or position()=24">
- <tr>
- <xsl:choose>
- <xsl:when test="$intitule != '0' and @IntituleRubriqueA=$intitule">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="((position()-1) mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </tr>
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="$Modele eq '502' and $pos eq 4">
- <tr>
- <xsl:choose>
- <xsl:when test="$intitule != '0' and @IntituleRubriqueA=$intitule">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bordureRight"> </td>
- <td class="bordureRight bold">Immeubles achevés :</td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- </tr>
- </xsl:when>
- <xsl:when test="$Modele eq '503' and ($pos eq 2 or $pos eq 3 or $pos eq 4 or $pos eq 5 or $pos eq 6)">
- <tr>
- <xsl:choose>
- <xsl:when test="$intitule != '0' and @IntituleRubriqueA=$intitule">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- </tr>
- </xsl:when>
- </xsl:choose>
- <tr>
- <xsl:choose>
- <xsl:when test="$intitule != '0' and @IntituleRubriqueA=$intitule">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="position() eq 1 and $el/@Modele='501'"><td rowspan="{count($comptes.libelles//n:Type[@Modele=$Modele]/n:CompteLibelle) + 3}" class="vertical bordureRight bold center">A<br/>C<br/>T<br/>I<br/>F<br/><br/>I<br/>M<br/>M<br/>O<br/>B<br/>I<br/>L<br/>I<br/>S<br/>E</td></xsl:if>
- <xsl:if test="position() eq 1 and $el/@Modele='502'"><td rowspan="{count($comptes.libelles//n:Type[@Modele=$Modele]/n:CompteLibelle) + 5}" class="vertical bordureRight bold center">A<br/>C<br/>T<br/>I<br/>F<br/><br/>C<br/>I<br/>R<br/>C<br/>U<br/>L<br/>A<br/>N<br/>T</td></xsl:if>
- <xsl:if test="position() eq 1 and $el/@Modele='503'"><td rowspan="{count($comptes.libelles//n:Type[@Modele=$Modele]/n:CompteLibelle) + 5}" class="vertical bordureRight bold center">C<br/>O<br/>M<br/>P<br/>T<br/>E<br/>S<br/><br/>D<br/>E<br/><br/>R<br/>E<br/>G<br/>U<br/>L<br/>A<br/>R<br/>I<br/>S<br/>A<br/>T<br/>I<br/>O<br/>N</td></xsl:if>
- <xsl:choose>
- <xsl:when test="not($el/@Modele='503' and position()=6)">
- <td>
- <xsl:choose>
- <xsl:when test="$el/@Modele='501' and (position()=1 or position()=6 or position()=15 or position()=16 or position()=20 or position()=26)"><xsl:attribute name="class">bordureRight bold</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='502' and (position()=1 or position()=8 or position()=9 or position()=18 or position()=23 or position()=24)"><xsl:attribute name="class">bordureRight bold</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and (position()=1 or position()=3 or position()=4 or position()=5)"><xsl:attribute name="class">bordureRight bold</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="$comptes.libelles//n:Type[@Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Compte"/>
- </td>
- </xsl:when>
- </xsl:choose>
- <td>
- <xsl:choose>
- <xsl:when test="$el/@Modele='501' and (position()=1 or position()=6 or position()=15 or position()=16 or position()=20 or position()=26)"><xsl:choose><xsl:when test="position()=26"><xsl:attribute name="class">bordered bold montant</xsl:attribute><xsl:attribute name="colspan">2</xsl:attribute></xsl:when><xsl:otherwise><xsl:attribute name="class">bordureRight bold</xsl:attribute></xsl:otherwise></xsl:choose></xsl:when>
- <xsl:when test="$el/@Modele='502' and (position()=1 or position()=8 or position()=9 or position()=18 or position()=23 or position()=24)"><xsl:attribute name="class">bordureRight bold</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and (position()=1 or position()=3 or position()=4 or position()=5)"><xsl:attribute name="class">bordureRight bold</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and position()=6"><xsl:attribute name="class">bordureRight bordureTop center bold</xsl:attribute><xsl:attribute name="colspan">3</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="$comptes.libelles//n:Type[@Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="$el/@Modele='501' and (position()=1 or position()=6 or position()=15 or position()=16 or position()=20 or position()=26)"><xsl:attribute name="class">bordureRight bold montant borderedTopBottomDotted</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='502' and (position()=1 or position()=8 or position()=9 or position()=18 or position()=23 or position()=24)"><xsl:attribute name="class">bordureRight bold montant borderedTopBottomDotted</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and (position()=1 or position()=3 or position()=4 or position()=5)"><xsl:attribute name="class">bordureRight borderedTopBottomDotted montant bold</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and position()=6"><xsl:attribute name="class">bordureRight bordureTop center bold</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">montant bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@Brut"/>
- </xsl:call-template>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="$el/@Modele='501' and (position()=1 or position()=6 or position()=15 or position()=16 or position()=20 or position()=26)"><xsl:attribute name="class">bordureRight bold montant borderedTopBottomDotted</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='502' and (position()=1 or position()=8 or position()=9 or position()=18 or position()=23 or position()=24)"><xsl:attribute name="class">bordureRight bold montant borderedTopBottomDotted</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and (position()=1 or position()=3 or position()=4 or position()=5)"><xsl:attribute name="class">bordureRight borderedTopBottomDotted montant bold</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and position()=6"><xsl:attribute name="class">bordureRight bordureTop center bold</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">montant bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@AmortProv"/>
- </xsl:call-template>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="$el/@Modele='501' and (position()=1 or position()=6 or position()=15 or position()=16 or position()=20 or position()=26)"><xsl:attribute name="class">bordureRight bold montant borderedTopBottomDotted</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='502' and (position()=1 or position()=8 or position()=9 or position()=18 or position()=23 or position()=24)"><xsl:attribute name="class">bordureRight bold montant borderedTopBottomDotted</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and (position()=1 or position()=3 or position()=4 or position()=5)"><xsl:attribute name="class">bordureRight borderedTopBottomDotted montant bold</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and position()=6"><xsl:attribute name="class">bordureRight bordureTop center bold</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">montant bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN"/>
- </xsl:call-template>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="$el/@Modele='501' and (position()=1 or position()=6 or position()=15 or position()=16 or position()=20 or position()=26)"><xsl:attribute name="class">bordureRight bordureBottom bordureTop bold montant</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='502' and (position()=1 or position()=8 or position()=9 or position()=18 or position()=23 or position()=24)"><xsl:attribute name="class">bordureRight bordureBottom bordureTop bold montant</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and (position()=1 or position()=3 or position()=4 or position()=5)"><xsl:attribute name="class">bordureRight bordureBottom bordureTop montant bold</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and position()=6"><xsl:attribute name="class">bordureRight bordureTop center bold</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">montant bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@TotalPartiel"/>
- </xsl:call-template>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="$el/@Modele='501' and (position()=1 or position()=6 or position()=15 or position()=16 or position()=20 or position()=26)"><xsl:attribute name="class">bordureRight bordureBottom bordureTop bold montant</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='502' and (position()=1 or position()=8 or position()=9 or position()=18 or position()=23 or position()=24)"><xsl:attribute name="class">bordureRight bordureBottom bordureTop bold montant</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and (position()=1 or position()=3 or position()=4 or position()=5)"><xsl:attribute name="class">bordureRight bordureBottom bordureTop montant bold</xsl:attribute></xsl:when>
- <xsl:when test="$el/@Modele='503' and position()=6"><xsl:attribute name="class">bordureRight bordureTop center bold</xsl:attribute></xsl:when>
- <xsl:otherwise><xsl:attribute name="class">montant bordureRight</xsl:attribute></xsl:otherwise>
- </xsl:choose>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetN_1"/>
- </xsl:call-template>
- </td>
-
-
-
- <!--/xsl:otherwise>
- </xsl:choose-->
- </tr>
- </xsl:for-each>
- </xsl:template>
-</xsl:transform>
+++ /dev/null
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE xsl:stylesheet [
-<!ENTITY nbsp " ">
-<!ENTITY egrave "è">
-<!ENTITY euro "€">
-<!ENTITY agrave "à">
-<!ENTITY eacute "é">
-]>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.xemelios.org/namespaces#cg-1.0" xmlns:n="http://www.xemelios.org/namespaces#cg-1.0" xmlns:added="http://projets.admisource.gouv.fr/xemelios/namespaces#added" version="2.0">
- <!-- Paramètres de sortie -->
- <xsl:character-map name="accents">
- <xsl:output-character character="à" string="&#224;"/>
- <xsl:output-character character="é" string="&#233;"/>
- <xsl:output-character character="è" string="&#232;"/>
- <xsl:output-character character="ê" string="&#234;"/>
- <xsl:output-character character="ë" string="&#235;"/>
- <xsl:output-character character="î" string="&#238;"/>
- <xsl:output-character character="ï" string="&#239;"/>
- <xsl:output-character character="ô" string="&#244;"/>
- <xsl:output-character character="ù" string="&#249;"/>
- <xsl:output-character character="°" string="&#176;"/>
- </xsl:character-map>
- <xsl:output method="xhtml" indent="yes" use-character-maps="accents" encoding="ISO-8859-1"/>
- <xsl:decimal-format name="decformat" decimal-separator="," grouping-separator=" " digit="#" pattern-separator=";" NaN="NaN" minus-sign="-"/>
-
- <!-- Inclusion des XSL externes -->
- <xsl:include href="common-xsl/Title.xsl"/>
- <xsl:include href="common-xsl/Style.xsl"/>
- <xsl:include href="common-xsl/Error.xsl"/>
- <xsl:include href="common-xsl/Navigate.xsl"/>
- <xsl:include href="common-xsl/Header.xsl"/>
- <xsl:include href="common-xsl/Number.xsl"/><xsl:include href="common-xsl/Footer.xsl"/>
-
- <!-- Paramètres Web -->
- <xsl:param name="is.web">-1</xsl:param>
- <xsl:param name="context.path"/>
-
- <!-- Paramètres d'entrée -->
- <xsl:param name="show.formulaire"/>
- <xsl:param name="browser-destination"/>
-
- <!-- Paramètres d'entrée de la liste de résultat -->
- <xsl:param name="numCompte">0</xsl:param>
-
- <!-- Paramètres d'erreur -->
- <xsl:param name="error.message">nomessage</xsl:param>
-
- <!-- Variables -->
- <xsl:variable name="page-format" select="paysage"/>
- <xsl:variable name="NumPage" select="/n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee/n:Pied/@NumPage"/>
- <xsl:variable name="isLastPage" select="/n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee/@added:isLastPage"/>
- <xsl:variable name="Entete">
- <xsl:copy-of select="/n:CompteGestion/n:Entete"/>
- </xsl:variable>
- <xsl:variable name="Nomenclature" select="$Entete//n:Nomenclature/@V"/>
- <xsl:variable name="Modele" select="//n:SituationDeveloppee/n:PageSituationDeveloppee/@Modele"/>
-
-
- <!-- pour eviter les sorties parasites de tags non matches -->
- <xsl:template match="*"/>
-
- <xsl:variable name="comptes.libelles">
- <ComptesLibelles>
- <Type V="CR" Modele="701">
- <CompteLibelle Compte="60 (sauf 603)" Libelle="Achats (hors 609)"/>
- <CompteLibelle Compte="603" Libelle="Variation des stocks (annulation de stock initial)"/>
- <CompteLibelle Compte="61 (sauf 61521)" Libelle="Services extérieurs (hors 619)"/>
- <CompteLibelle Compte="61521" Libelle="Dépenses de gros entretien sur biens immobiliers"/>
- <CompteLibelle Compte="62" Libelle="Autres services extérieurs (hors 629)"/>
- <CompteLibelle Compte="63 (sauf 63512)" Libelle="Impôts, taxes, verst assim. (hors 6319, 6339, 6359)"/>
- <CompteLibelle Compte="63512" Libelle="Taxes foncières"/>
- <CompteLibelle Compte="641" Libelle="Rémunérations du personnel (hors 6419)"/>
- <CompteLibelle Compte="6481" Libelle="Autres charges de personnel - rémunérations, indem"/>
- <CompteLibelle Compte="Autres 64" Libelle="Charges de personnel (hors 6419, 6459, 6479, 6489)"/>
- <CompteLibelle Compte="65 (sauf 654)" Libelle="Autres charges de gestion courante"/>
- <CompteLibelle Compte="654" Libelle="Pertes sur créances irrécouvrables"/>
- <CompteLibelle Compte="66" Libelle="Charges financières (hors 6691)"/>
- <CompteLibelle Compte="67 (sauf 6732, 675)" Libelle="Charges exceptionnelles"/>
- <CompteLibelle Compte="675" Libelle="VNC des éléments sortis de l'actifimmobilisé"/>
- <CompteLibelle Compte="68 (sauf 68157)" Libelle="Dotations aux amortis., dépréciations. et provisions"/>
- <CompteLibelle Compte="68157" Libelle="Provisions pour gros entretien"/>
- <CompteLibelle Compte="69" Libelle="Participation des salariés - Impôts sur les bénéfices"/>
- <CompteLibelle Compte="71" Libelle="Production stockée (annulation de stock initial)"/>
- <CompteLibelle Compte="" Libelle="TOTAL DES CHARGES NON RECUPERABLES (hors 6732)"/>
- <CompteLibelle Compte="' 063 '" Libelle="Total des charges récupérables"/>
- <CompteLibelle Compte="6732" Libelle="Réduction de récupération de charges locatives sur exercices antérieurs"/>
- <CompteLibelle Compte="" Libelle=""/>
- <CompteLibelle Compte="" Libelle=""/>
- <CompteLibelle Compte="" Libelle="TOTAL DES CHARGES"/>
- <CompteLibelle Compte="" Libelle="EXCEDENT"/>
- </Type>
- <Type V="CR" Modele="702">
- <CompteLibelle Compte="70 (sauf 703, 704)" Libelle="Produits des activités"/>
- <CompteLibelle Compte="704" Libelle="Loyers"/>
- <CompteLibelle Compte="71" Libelle="Production stockée (constatation de stock final)"/>
- <CompteLibelle Compte="72" Libelle="Production immobilisée"/>
- <CompteLibelle Compte="74" Libelle="Subventions d'exploitation"/>
- <CompteLibelle Compte="75" Libelle="Autres produits de gestion courante"/>
- <CompteLibelle Compte="76" Libelle="Produits financiers"/>
- <CompteLibelle Compte="77 (sauf 7723, 775)" Libelle="Produits exceptionnels (hors 7732)"/>
- <CompteLibelle Compte="775" Libelle="Produits des cessions d'éléments d'actif"/>
- <CompteLibelle Compte="78 (sauf 78157)" Libelle="Reprises sur amortis., dépréciations et provisions"/>
- <CompteLibelle Compte="78157" Libelle="Provisions pour gros entretien"/>
- <CompteLibelle Compte="79" Libelle="Transferts de charges"/>
- <CompteLibelle Compte="603" Libelle="Variation de stocks (constatation de stock final)"/>
- <CompteLibelle Compte="' 061 '" Libelle="Rabais, remises, ristournes et bonifications d'intérêts(sur charges non récupérables)"/>
- <CompteLibelle Compte="' 062 '" Libelle="Remboursement sur salaires, charges sociales et taxes (sur charges non récupérables)"/>
- <CompteLibelle Compte="" Libelle="TOTAL DES PRODUITS HORS RECUPERATION DE CHARGES"/>
- <CompteLibelle Compte="703" Libelle="Récupération de charges locatives"/>
- <CompteLibelle Compte="7723" Libelle="Complément de récupération de charges locatives sur exercices antérieurs"/>
- <CompteLibelle Compte="' 064 '" Libelle="Atténuation de charges récupérables"/>
- <CompteLibelle Compte="" Libelle=""/>
- <CompteLibelle Compte="" Libelle=""/>
- <CompteLibelle Compte="" Libelle="TOTAL DES PRODUITS"/>
- <CompteLibelle Compte="" Libelle="DEFICIT"/>
- </Type>
- <Type V="CAF" Modele="071">
- <CompteLibelle Compte="" Libelle="TOTAL DES CHARGES"/>
- <CompteLibelle Compte="675" Libelle="-Valeur comptable des éléments d'actifs cédés, démolis, remplacés"/>
- <CompteLibelle Compte="68 (sauf 68157)" Libelle="-Dotations aux amortissements, aux dépréciations et aux provisions"/>
- <CompteLibelle Compte="68157" Libelle="-Provisions pour gros entretien"/>
- <CompteLibelle Compte="" Libelle="TOTAL I"/>
- <CompteLibelle Compte="" Libelle="TOTAL DES PRODUITS"/>
- <CompteLibelle Compte="775" Libelle="-Produits des cessions d'élémentsd'actifs"/>
- <CompteLibelle Compte="777" Libelle="-Quote part des subventions virée au résultat"/>
- <CompteLibelle Compte="78 (sauf 78157)" Libelle="-Reprises sur amortissements, aux dépréciations et provisions"/>
- <CompteLibelle Compte="78157" Libelle="-Provisions pour gros entretien"/>
- <CompteLibelle Compte="7963" Libelle="-Transfert de charges financières -Intérêts compensateurs"/>
- <CompteLibelle Compte="" Libelle="TOTAL II"/>
- <CompteLibelle Compte="" Libelle="CAPACITE D'AUTOFINANCEMENT OU INSUFFISANCE D'AUTOFINANCEMENT"/>
- </Type>
- <Type V="TF" Modele="721">
- <CompteLibelle Compte="" Libelle="IAF"/>
- <CompteLibelle Compte="20" Libelle="Immobilisations incorporelles (sauf 232, 237)"/>
- <CompteLibelle Compte="232" Libelle="Immobilisations incorporelles en cours"/>
- <CompteLibelle Compte="237" Libelle="Avances et acomptes versés sur immobilisations incorporelles"/>
- <CompteLibelle Compte="" Libelle="Sous-Total1 - Immobilisations incorporelles"/>
- <CompteLibelle Compte="211" Libelle="Terrains"/>
- <CompteLibelle Compte="212" Libelle="Agencements et aménagements de terrains"/>
- <CompteLibelle Compte="213 (hors 21311)" Libelle="Constructions"/>
- <CompteLibelle Compte="21311" Libelle="Constructions - Immeubles de rapport"/>
- <CompteLibelle Compte="214 (hors 21411)" Libelle="Constructions sur sol d'autrui"/>
- <CompteLibelle Compte="21411" Libelle="Immeubles de rapport"/>
- <CompteLibelle Compte="215" Libelle="Installations techniques, matériel et outillage"/>
- <CompteLibelle Compte="218" Libelle="Autres immobilisations corporelles"/>
- <CompteLibelle Compte="221" Libelle="Immeubles en location-vente"/>
- <CompteLibelle Compte="2312" Libelle="Terrains en cours"/>
- <CompteLibelle Compte="2313 (hors 231311)" Libelle="Constructions en cours"/>
- <CompteLibelle Compte="231311" Libelle="Immeubles de rapport"/>
- <CompteLibelle Compte="2314 (hors 231411)" Libelle="Construction sur sol d'autrui en cours"/>
- <CompteLibelle Compte="231411" Libelle="Immeubles de rapport en cours"/>
- <CompteLibelle Compte="2318" Libelle="Autres immobilisations corporelles en cours"/>
- <CompteLibelle Compte="238" Libelle="Avances et acomptes versés sur immobilisations corporelles"/>
- <CompteLibelle Compte="" Libelle="Sous-Total2 - Immobilisations corporelles"/>
- </Type>
- <Type V="TF" Modele="722">
- <CompteLibelle Compte="26" Libelle="Participations et créances rattachées à des participations"/>
- <CompteLibelle Compte="27 (hors 278)" Libelle="Autres immobilisations financières"/>
- <CompteLibelle Compte="278" Libelle="Prêts accession"/>
- <CompteLibelle Compte="" Libelle="Sous-Total3 - Immobilisations financières"/>
- <CompteLibelle Compte="" Libelle="ACQUISITIONS D'ELEMENTS DE L'ACTIF IMMOBILISE (ST 1 + ST 2 + ST 3)"/>
- <CompteLibelle Compte="481" Libelle="Charges à répartir sur plusieurs exercices"/>
- <CompteLibelle Compte="169" Libelle="Primes de remboursement des obligations"/>
- <CompteLibelle Compte="13" Libelle="Subventions remboursées"/>
- <CompteLibelle Compte="162" Libelle="Participation des employeurs à l'effort de construction"/>
- <CompteLibelle Compte="163" Libelle="Emprunts obligataires"/>
- <CompteLibelle Compte="164 (hors 1649)" Libelle="Emprunts auprès des établissements de crédits"/>
- <CompteLibelle Compte="1649" Libelle="Refinancement de dette"/>
- <CompteLibelle Compte="1651" Libelle="Dépôts de garantie des locataires"/>
- <CompteLibelle Compte="1654" Libelle="Redevances (location -accession)"/>
- <CompteLibelle Compte="1658" Libelle="Autres dépôts"/>
- <CompteLibelle Compte="166" Libelle="Participation des salariés aux résultats"/>
- <CompteLibelle Compte="167" Libelle="Emprunts et dettes assorties de conditions particulières"/>
- <CompteLibelle Compte="168 (hors 16883)" Libelle="Autres emprunts et dettes assimilées"/>
- <CompteLibelle Compte="16883" Libelle="Intérêts compensateurs courus (diminution)"/>
- <CompteLibelle Compte="" Libelle="REMBOURSEMENT DES DETTES FINANCIERES"/>
- <CompteLibelle Compte="'071'" Libelle="Annulation de titres sur exercices clos"/>
- <CompteLibelle Compte="" Libelle="TOTAL DES EMPLOIS"/>
- <CompteLibelle Compte="" Libelle="APPORT AU FONDS DE ROULEMENT"/>
- </Type>
- <Type V="TF" Modele="723">
- <CompteLibelle Compte="" Libelle="CAF"/>
- <CompteLibelle Compte="775" Libelle="Produits des cessions d'élémentsd'actif"/>
- <CompteLibelle Compte="278" Libelle="Prêts accession"/>
- <CompteLibelle Compte="27 (hors 278)" Libelle=" Autres immobilisations financières (sauf 271, 272 et 2768"/>
- <CompteLibelle Compte="" Libelle="CESSION OU REDUCTION D'ELEMENTS DE L'ACTIF IMMOBILISE"/>
- <CompteLibelle Compte="102" Libelle="Dotations"/>
- <CompteLibelle Compte="103" Libelle="Autres compléments de dotation -Dons et legs en capital"/>
- <CompteLibelle Compte="13" Libelle="Subventions d'investissement"/>
- <CompteLibelle Compte="" Libelle="AUGMENTATION DES CAPITAUX PROPRES"/>
- <CompteLibelle Compte="162" Libelle="Participation des employeurs à l'effortde construction"/>
- <CompteLibelle Compte="163" Libelle="Emprunts obligataires"/>
- <CompteLibelle Compte="164 (hors 1649)" Libelle="Emprunts auprès des établissements de crédits"/>
- <CompteLibelle Compte="1649" Libelle="Refinancement de dette"/>
- <CompteLibelle Compte="1651" Libelle="Dépôts de garantie des locataires"/>
- <CompteLibelle Compte="1654" Libelle="Redevances (location -accession)"/>
- <CompteLibelle Compte="1658" Libelle="Autres dépôts"/>
- <CompteLibelle Compte="167" Libelle="Emprunts et dettes assorties de conditions particulières"/>
- <CompteLibelle Compte="168 (hors 16883)" Libelle="Autres emprunts et dettes assimilées"/>
- <CompteLibelle Compte="16883" Libelle="Intérêts compensateurs courus (augmentation)"/>
- <CompteLibelle Compte="" Libelle="AUGMENTATION DES DETTES FINANCIERES"/>
- <CompteLibelle Compte="070" Libelle=" Annulation de mandats sur exercices clos"/>
- <CompteLibelle Compte="" Libelle="TOTAL DES RESSOURCES"/>
- <CompteLibelle Compte="" Libelle="PRELEVEMENT SUR FONDS DE ROULEMENT"/>
- </Type>
- <Type V="TSSP" Modele="073">
- <CompteLibelle Compte="31" Libelle="Terrains à aménager"/>
- <CompteLibelle Compte="33" Libelle="Immeubles en cours"/>
- <CompteLibelle Compte="35" Libelle="Immeubles achevés"/>
- <CompteLibelle Compte="" Libelle="TOTAL I"/>
- <CompteLibelle Compte="31" Libelle="Terrains à aménager"/>
- <CompteLibelle Compte="33" Libelle="Immeubles en cours"/>
- <CompteLibelle Compte="35" Libelle="Immeubles achevés"/>
- <CompteLibelle Compte="" Libelle="TOTAL II"/>
- <CompteLibelle Compte="" Libelle="BFR (EMPLOIS-RESSOURCES)"/>
- </Type>
- </ComptesLibelles>
- </xsl:variable>
-
-
- <xsl:template match="/n:CompteGestion">
- <html>
- <head>
- <!--title>Opérations budgétaires</title-->
- <xsl:call-template name="title"><xsl:with-param name="Entete" select="//n:Entete"/><xsl:with-param name="etat">Opérations budgétaires</xsl:with-param></xsl:call-template>
- <xsl:call-template name="style"/>
- </head>
- <body width="100%">
- <xsl:if test="$error.message!='nomessage'">
- <xsl:attribute name="onload">javascript:showDialog('<xsl:value-of select="$error.message"/>');</xsl:attribute>
- </xsl:if>
- <xsl:call-template name="Error"><!--xsl:with-param name="error.message" select="$error.message"/--></xsl:call-template>
- <xsl:call-template name="navigate">
- <xsl:with-param name="docId">cg-colloc</xsl:with-param>
- <xsl:with-param name="etatId">SituationDeveloppee</xsl:with-param>
- <xsl:with-param name="elementId">PageSituationDeveloppee</xsl:with-param>
- <xsl:with-param name="sous.elementId">LigneSituationDeveloppee</xsl:with-param>
- <xsl:with-param name="NumPage" select="$NumPage"/>
- <xsl:with-param name="isLastPage" select="$isLastPage"/>
- <xsl:with-param name="Entete" select="$Entete"/>
- <xsl:with-param name="show.formulaire" select="$show.formulaire"/>
- <xsl:with-param name="show.depense.recette" select="0"/>
- <xsl:with-param name="is.web" select="$is.web"/>
- <xsl:with-param name="context.path" select="$context.path"/>
- </xsl:call-template>
- <xsl:choose>
- <xsl:when test="$Nomenclature='M31'">
- <xsl:call-template name="header">
- <xsl:with-param name="Entete" select="$Entete"/>
- <xsl:with-param name="Titre.Plus">
- <xsl:choose>
- <xsl:when test="$Modele='701' or $Modele='702' or $Modele='071' or $Modele='721' or $Modele='722' or $Modele='723' or $Modele='073'">
- <h2>SITUATION DEVELOPPEE DES PREVISIONS ET REALISATIONS</h2>
- </xsl:when>
- <xsl:otherwise>
- <h2>SITUATION DETAILLEE DES PREVISIONS ET REALISATIONS</h2>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="header">
- <xsl:with-param name="Entete" select="$Entete"/>
- <xsl:with-param name="Titre.Plus">
- <h2>Opérations budgétaires de <xsl:value-of select="lower-case(n:SituationDeveloppee/n:PageSituationDeveloppee/n:EnteteSituationDeveloppee/@Sens)"/> - <xsl:value-of select="n:SituationDeveloppee/n:PageSituationDeveloppee/n:EnteteSituationDeveloppee/@Section"/> <xsl:value-of select="n:SituationDeveloppee/n:PageSituationDeveloppee/n:EnteteSituationDeveloppee/@Annee"/></h2>
- <h3>
- <xsl:value-of select="n:SituationDeveloppee/n:PageSituationDeveloppee/n:EnteteSituationDeveloppee/@SousTitre"/>
- </h3>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-
- <!-- **************** DEBUG **************** -->
- <!--h1 style="color: red; background-color: yellow;">Type=<xsl:value-of select="/n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee/@Type"/><br/>Modele=<xsl:value-of select="/n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee/@Modele"/></h1-->
-
- <xsl:choose>
- <xsl:when test="$Nomenclature='M31' and /n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee/@Type='CR'">
- <xsl:call-template name="mainTable.CR">
- <xsl:with-param name="el" select="/n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$Nomenclature='M31' and /n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee/@Type='CAF'">
- <xsl:call-template name="mainTable.CAF">
- <xsl:with-param name="el" select="/n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$Nomenclature='M31' and /n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee/@Type='TF'">
- <xsl:call-template name="mainTable.TF">
- <xsl:with-param name="el" select="/n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$Nomenclature='M31' and /n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee/@Type='TSSP'">
- <xsl:call-template name="mainTable.TSSP">
- <xsl:with-param name="el" select="/n:CompteGestion/n:SituationDeveloppee/n:PageSituationDeveloppee"/>
- </xsl:call-template>
- </xsl:when>
- </xsl:choose>
- <p>
- <xsl:call-template name="footer"><xsl:with-param name="num.page" select="$NumPage"/><xsl:with-param name="tracabilite"><xsl:copy-of select="//n:Tracabilite"/></xsl:with-param></xsl:call-template>
- </p>
-
- <xsl:call-template name="navigate">
- <xsl:with-param name="docId">cg-colloc</xsl:with-param>
- <xsl:with-param name="etatId">SituationDeveloppee</xsl:with-param>
- <xsl:with-param name="elementId">PageSituationDeveloppee</xsl:with-param>
- <xsl:with-param name="sous.elementId">LigneSituationDeveloppee</xsl:with-param>
- <xsl:with-param name="NumPage" select="$NumPage"/>
- <xsl:with-param name="isLastPage" select="$isLastPage"/>
- <xsl:with-param name="Entete" select="$Entete"/>
- <xsl:with-param name="show.formulaire" select="$show.formulaire"/>
- <xsl:with-param name="show.depense.recette" select="0"/>
- <xsl:with-param name="is.web" select="$is.web"/>
- <xsl:with-param name="context.path" select="$context.path"/>
- </xsl:call-template>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template name="mainTable.CR">
- <xsl:param name="el"/>
-
- <xsl:variable name="excedent.deficit"><xsl:copy-of select="$el/n:LigneSituationDeveloppee[@Type='ExcedentDeficit']"/></xsl:variable>
-
- <table width="100%" class="borderedInside">
- <colgroup>
- <col width="50%"/>
- <col width="50%"/>
- </colgroup>
- <tbody>
- <tr>
- <td class="bold noborder">Compte de résultat <xsl:value-of select="//n:EnteteSituationDeveloppee/@DesignationBudget"/></td>
- <td class="bold right noborder"><xsl:choose><xsl:when test="$el/@Modele eq '702'">PRODUITS</xsl:when><xsl:when test="$el/@Modele != '08'">CHARGES</xsl:when><xsl:otherwise><xsl:value-of select="//n:EnteteSituationDeveloppee/@ChargesProduits"/></xsl:otherwise></xsl:choose></td>
- </tr>
- </tbody>
- </table>
- <table width="100%" id="main" class="bordered">
- <colgroup>
- <col width="10%"/>
- <col width="30%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- </colgroup>
- <thead>
- <tr class="titre">
- <td class="titre bold center borderedBold">Chapitres</td>
- <td class="titre bold center borderedBold">Intitulés</td>
- <td class="titre bold center borderedBold">CRP   <xsl:value-of select="//n:EnteteSituationDeveloppee/@TypeBudget"/><br/>initial</td>
- <td class="titre bold center borderedBold">Décisions<br/>modificatives</td>
- <td class="titre bold center borderedBold">Virements de crédits</td>
- <td class="titre bold center borderedBold">Prévisions totales</td>
- <td class="titre bold center borderedBold">Net constaté</td>
- <td class="titre bold center borderedBold">Ecart réal. -<br/>prév. en%</td>
- </tr>
- </thead>
- <tbody>
- <xsl:variable name="nb.lignes" select="count($el/n:LigneSituationDeveloppee)"/>
- <xsl:for-each select="$el/n:LigneSituationDeveloppee">
- <xsl:choose>
- <xsl:when test="string-length(@MontantInitial) eq 0 and string-length(@DecisionsModificatives) eq 0 and string-length(@VirementsCredits) eq 0 and string-length(@PrevisionsTotales) eq 0 and string-length(@NetConstate) eq 0 and string-length(@EcartRealise) eq 0">
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- </tr>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="pos" select="position()"/>
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="$pos eq $nb.lignes or contains($comptes.libelles//n:Type[@V='CR' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle,'hors 6732') or
- contains($comptes.libelles//n:Type[@V='CR' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle,'TOTAL DES PRODUITS HORS RECUPERATION DE CHARGES')">
- <td class="bordureRight bordureBottom bordureTop bold center" colspan="2"><xsl:value-of select="$comptes.libelles//n:Type[@V='CR' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- </xsl:when>
- <xsl:when test="$pos eq number($nb.lignes)-1">
- <td class="bordureRight bordureTop bold center" colspan="2"><xsl:value-of select="$comptes.libelles//n:Type[@V='CR' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td class="bordureRight"><xsl:value-of select="$comptes.libelles//n:Type[@V='CR' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Compte"/></td>
- <td class="bordureRight"><xsl:value-of select="$comptes.libelles//n:Type[@V='CR' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- </xsl:otherwise>
- </xsl:choose>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MontantInitial"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@DecisionsModificatives"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@VirementsCredits"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@PrevisionsTotales"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetConstate"/>
- </xsl:call-template>
- </td>
- <td class="center bordureRight"><xsl:value-of select="@EcartRealise"/></td>
- </tr>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:if test="$el/@Modele = '702'">
- <tr>
- <td class="bordureRight bordureBottom bordureTop center" colspan="2">DEFICIT</td>
- <td class="bordureRight bordureBottom bordureTop"> </td>
- <td class="bordureRight bordureBottom bordureTop"> </td>
- <td class="bordureRight bordureBottom bordureTop"> </td>
- <td class="bordureRight bordureBottom bordureTop"> </td>
- <td class="bordureRight bordureBottom bordureTop"> </td>
- <td class="bordureRight bordureBottom bordureTop"> </td>
- </tr>
- </xsl:if>
- <!--xsl:choose>
- <xsl:when test="$el/@Modele='08'">
- <xsl:for-each select="$el/n:LigneSituationDeveloppee">
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bordureRight"><xsl:value-of select="concat(@LibTitre1,'',@LibTitre2)"/></td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntBudPrim"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntDecMod"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntVirCredit"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntPrevBud"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntEmission"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntAnnulation"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntReal"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight"><xsl:value-of select="@MntEcartRealPrev"/></td>
- </tr>
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <xsl:for-each select="$el/n:LigneSituationDeveloppee[@Type='Charges']">
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="center bordureRight">
- <xsl:value-of select="@NumCompte"/>
- </td>
- <td class="bordureRight"><xsl:value-of select="concat(@LibTitre1,'',@LibTitre2)"/></td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntBudPrim"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntDecMod"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntVirCredit"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntPrevBud"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntReal"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight"><xsl:value-of select="@MntEcartRealPrev"/></td>
- </tr>
- </xsl:for-each>
-
- <xsl:variable name="total1"><xsl:copy-of select="$el/n:LigneSituationDeveloppee[@Type='ChargesTotal' and @MntBudPrim][1]"/></xsl:variable>
-
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bold borderedBold" colspan="2">TOTAL DES CHARGES</td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$total1/n:LigneSituationDeveloppee/@MntBudPrim"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$total1/n:LigneSituationDeveloppee/@MntDecMod"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$total1/n:LigneSituationDeveloppee/@MntVirCredit"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$total1/n:LigneSituationDeveloppee/@MntPrevBud"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$total1/n:LigneSituationDeveloppee/@MntReal"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold"><xsl:value-of select="$total1/n:LigneSituationDeveloppee/@MntEcartRealPrev"/></td>
- </tr>
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bold borderedBold" colspan="2">EXCEDENT</td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$excedent.deficit/n:LigneSituationDeveloppee[1]/@MntBudPrim"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$excedent.deficit/n:LigneSituationDeveloppee[1]/@MntDecMod"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$excedent.deficit/n:LigneSituationDeveloppee[1]/@MntVirCredit"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$excedent.deficit/n:LigneSituationDeveloppee[1]/@MntPrevBud"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$excedent.deficit/n:LigneSituationDeveloppee[1]/@MntReal"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold"><xsl:value-of select="$excedent.deficit/n:LigneSituationDeveloppee[1]/@MntEcartRealPrev"/></td>
- </tr>
- </xsl:otherwise>
- </xsl:choose-->
- </tbody>
- </table>
- <!--xsl:if test="$el/@Modele != '08'">
- <br/>
- <table width="100%" class="borderedInside">
- <colgroup>
- <col width="50%"/>
- <col width="50%"/>
- </colgroup>
- <tbody>
- <tr>
- <td class="bold noborder"> </td>
- <td class="bold right noborder">PRODUITS</td>
- </tr>
- </tbody>
- </table>
- <table width="100%" id="main" class="bordered">
- <colgroup>
- <col width="10%"/>
- <col width="30%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- </colgroup>
- <thead>
- <tr class="titre">
- <td class="titre bold center borderedBold">N° des<br/>titres</td>
- <td class="titre bold center borderedBold">Intitulés</td>
- <td class="titre bold center borderedBold">CRP   <xsl:value-of select="//n:EnteteSituationDeveloppee/@TypeBudget"/><br/>initial</td>
- <td class="titre bold center borderedBold">Décisions<br/>modificatives</td>
- <td class="titre bold center borderedBold">Virements de crédits</td>
- <td class="titre bold center borderedBold">Prévisions totales</td>
- <td class="titre bold center borderedBold">Net constaté</td>
- <td class="titre bold center borderedBold">Ecart réalisations -<br/>prévisions</td>
- </tr>
- </thead>
- <tbody>
- <xsl:for-each select="$el/n:LigneSituationDeveloppee[@Type='Produits']">
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="center bordureRight">
- <xsl:value-of select="@NumCompte"/>
- </td>
- <td class="bordureRight">
- <xsl:value-of select="concat(@LibTitre1,'',@LibTitre2)"/>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntBudPrim"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntDecMod"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntVirCredit"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntPrevBud"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MntReal"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight"><xsl:value-of select="@MntEcartRealPrev"/></td>
- </tr>
- </xsl:for-each>
- <xsl:variable name="total1"><xsl:copy-of select="$el/n:LigneSituationDeveloppee[@Type='ProduitsTotal' and @MntBudPrim][1]"/></xsl:variable>
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bold borderedBold" colspan="2">TOTAL DES PRODUITS</td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$total1/n:LigneSituationDeveloppee/@MntBudPrim"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$total1/n:LigneSituationDeveloppee/@MntDecMod"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$total1/n:LigneSituationDeveloppee/@MntVirCredit"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$total1/n:LigneSituationDeveloppee/@MntPrevBud"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$total1/n:LigneSituationDeveloppee/@MntReal"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold"><xsl:value-of select="$total1/n:LigneSituationDeveloppee/@MntEcartRealPrev"/></td>
- </tr>
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bold borderedBold" colspan="2">DEFICIT</td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$excedent.deficit/n:LigneSituationDeveloppee[2]/@MntBudPrim"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$excedent.deficit/n:LigneSituationDeveloppee[2]/@MntDecMod"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$excedent.deficit/n:LigneSituationDeveloppee[2]/@MntVirCredit"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$excedent.deficit/n:LigneSituationDeveloppee[2]/@MntPrevBud"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="$excedent.deficit/n:LigneSituationDeveloppee[2]/@MntReal"/>
- </xsl:call-template>
- </td>
- <td class="montant borderedBold"><xsl:value-of select="$excedent.deficit/n:LigneSituationDeveloppee[2]/@MntEcartRealPrev"/></td>
- </tr>
- </tbody>
- </table>
- </xsl:if-->
- </xsl:template>
-
- <xsl:template name="mainTable.CAF">
- <xsl:param name="el"/>
-
- <xsl:variable name="excedent.deficit"><xsl:copy-of select="$el/n:LigneSituationDeveloppee[@Type='ExcedentDeficit']"/></xsl:variable>
-
- <table width="100%" class="borderedInside">
- <colgroup>
- <col width="50%"/>
- <col width="50%"/>
- </colgroup>
- <tbody>
- <tr>
- <td class="bold noborder">Tableau de passage des résultat à la CAF</td>
- <td class="bold right noborder"> </td>
- </tr>
- </tbody>
- </table>
- <table width="100%" id="main" class="bordered">
- <colgroup>
- <col width="8%"/>
- <col width="20%"/>
- <col width="12%"/>
- <col width="12%"/>
- <col width="12%"/>
- <col width="12%"/>
- <col width="12%"/>
- <col width="12%"/>
- </colgroup>
- <thead>
- <tr class="titre">
- <td class="titre bold center borderedBold">N°</td>
- <td class="titre bold center borderedBold">Intitulé</td>
- <td class="titre bold center borderedBold">CRP initial</td>
- <td class="titre bold center borderedBold">Décisions<br/>modificatives</td>
- <td class="titre bold center borderedBold">Virements de crédits</td>
- <td class="titre bold center borderedBold">Prévisions totales</td>
- <td class="titre bold center borderedBold">Net constaté</td>
- <td class="titre bold center borderedBold">Ecart réal. -<br/>prév. en %</td>
- </tr>
- </thead>
- <tbody>
- <xsl:variable name="nb.lignes" select="count($el/n:LigneSituationDeveloppee)"/>
- <xsl:for-each select="$el/n:LigneSituationDeveloppee">
- <xsl:choose>
- <xsl:when test="string-length(@MontantInitial) eq 0 and string-length(@DecisionsModificatives) eq 0 and string-length(@VirementsCredits) eq 0 and string-length(@PrevisionsTotales) eq 0 and string-length(@NetConstate) eq 0 and string-length(@EcartRealise) eq 0">
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- </tr>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="pos" select="position()"/>
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="$pos eq $nb.lignes or $pos eq 1 or $pos eq 5 or $pos eq 6">
- <td class="bordureRight bordureTop bordureBottom bold center" colspan="2"><xsl:value-of select="$comptes.libelles//n:Type[@V='CAF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- </xsl:when>
- <xsl:when test="$pos eq number($nb.lignes)-1">
- <td class="bordureRight bordureTop bold center" colspan="2"><xsl:value-of select="$comptes.libelles//n:Type[@V='CAF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td class="bordureRight"><xsl:value-of select="$comptes.libelles//n:Type[@V='CAF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Compte"/></td>
- <td class="bordureRight"><xsl:value-of select="$comptes.libelles//n:Type[@V='CAF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- </xsl:otherwise>
- </xsl:choose>
- <td class="montant bordureRight"><xsl:if test="contains($comptes.libelles//n:Type[@V='CAF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle,'AUTOFINANCEMENT')">+</xsl:if>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MontantInitial"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight"><xsl:if test="contains($comptes.libelles//n:Type[@V='CAF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle,'AUTOFINANCEMENT')">+</xsl:if>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@DecisionsModificatives"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@VirementsCredits"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight"><xsl:if test="contains($comptes.libelles//n:Type[@V='CAF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle,'AUTOFINANCEMENT')">+</xsl:if>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@PrevisionsTotales"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight"><xsl:if test="contains($comptes.libelles//n:Type[@V='CAF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle,'AUTOFINANCEMENT')">+</xsl:if>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetConstate"/>
- </xsl:call-template>
- </td>
- <td class="center bordureRight"><xsl:value-of select="@EcartRealise"/></td>
- </tr>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </tbody>
- </table>
- </xsl:template>
-
- <xsl:template name="mainTable.TF">
- <xsl:param name="el"/>
-
- <table width="100%" class="borderedInside">
- <colgroup>
- <col width="50%"/>
- <col width="50%"/>
- </colgroup>
- <tbody>
- <tr>
- <td class="bold noborder">Tableau de financement<xsl:if test="$Modele='722'"> (suite)</xsl:if></td>
- <td class="bold right noborder">
- <xsl:choose>
- <xsl:when test="$Modele='721' or $Modele='722'"><b>EMPLOIS</b></xsl:when>
- <xsl:when test="$Modele='723'"><b>RESSOURCES</b></xsl:when>
- </xsl:choose>
- </td>
- </tr>
- </tbody>
- </table>
- <table width="100%" id="main" class="bordered">
- <colgroup>
- <col width="10%"/>
- <col width="30%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- </colgroup>
- <thead>
- <tr class="titre">
- <td class="titre bold center borderedBold">Chapitres</td>
- <td class="titre bold center borderedBold">Intitulés</td>
- <td class="titre bold center borderedBold">TF initial</td>
- <td class="titre bold center borderedBold">Décisions<br/>modificatives</td>
- <td class="titre bold center borderedBold">Virements de crédits</td>
- <td class="titre bold center borderedBold">Prévisions totales</td>
- <td class="titre bold center borderedBold">Net constaté</td>
- <td class="titre bold center borderedBold">Ecart réal. -<br/>prév. en %</td>
- </tr>
- </thead>
- <tbody>
- <xsl:variable name="nb.lignes" select="count($el/n:LigneSituationDeveloppee)"/>
- <xsl:for-each select="$el/n:LigneSituationDeveloppee">
- <xsl:variable name="pos" select="position()"/>
- <xsl:choose>
- <xsl:when test="count($comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]) eq 0 and string-length(@MontantInitial) eq 0 and string-length(@DecisionsModificatives) eq 0 and string-length(@VirementsCredits) eq 0 and string-length(@PrevisionsTotales) eq 0 and string-length(@NetConstate) eq 0 and string-length(@EcartRealise) eq 0">
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- </tr>
- </xsl:when>
- <xsl:otherwise>
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="$Modele='721' and ($pos eq 1 or $pos eq 5 or $pos eq $nb.lignes)">
- <td class="bordureRight bordureTop bordureBottom bold center" colspan="2"><xsl:value-of select="$comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MontantInitial"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@DecisionsModificatives"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@VirementsCredits"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@PrevisionsTotales"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetConstate"/>
- </xsl:call-template>
- </td>
- <td class="center bordureRight bordureTop bordureBottom bold"><xsl:value-of select="@EcartRealise"/></td>
- </xsl:when>
- <xsl:when test="$Modele='722' and ($pos eq 4 or $pos eq 5 or $pos eq $nb.lignes or $pos eq (number($nb.lignes)-2))">
- <td class="bordureRight bordureTop bordureBottom bold center" colspan="2"><xsl:value-of select="$comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MontantInitial"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@DecisionsModificatives"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@VirementsCredits"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@PrevisionsTotales"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetConstate"/>
- </xsl:call-template>
- </td>
- <td class="center bordureRight bordureTop bordureBottom bold"><xsl:value-of select="@EcartRealise"/></td>
- </xsl:when>
- <xsl:when test="$Modele='722' and ($pos eq 6 or $pos eq 7 or $pos eq 8)">
- <xsl:choose>
- <xsl:when test="$pos eq 6 or $pos eq 7">
- <td class="bordureRight"><xsl:value-of select="$comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Compte"/></td>
- <td class="bordureRight bold"><xsl:value-of select="$comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MontantInitial"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@DecisionsModificatives"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@VirementsCredits"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@PrevisionsTotales"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetConstate"/>
- </xsl:call-template>
- </td>
- <td class="center bordureRight"><xsl:value-of select="@EcartRealise"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td class="bordureRight bordureBottom"><xsl:value-of select="$comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Compte"/></td>
- <td class="bordureRight bordureBottom bold"><xsl:value-of select="$comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- <td class="montant bordureRight bordureBottom">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MontantInitial"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureBottom">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@DecisionsModificatives"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureBottom">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@VirementsCredits"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureBottom">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@PrevisionsTotales"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureBottom">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetConstate"/>
- </xsl:call-template>
- </td>
- <td class="center bordureRight bordureBottom"><xsl:value-of select="@EcartRealise"/></td>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:when test="$Modele='723' and ($pos eq 1 or $pos eq 5 or $pos eq 9 or $pos eq $nb.lignes or $pos eq (number($nb.lignes)-1) or $pos eq (number($nb.lignes)-3))">
- <td class="bordureRight bordureTop bordureBottom bold center" colspan="2"><xsl:value-of select="$comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- <td class="montant bordureRight bordureTop bordureBottom bold"><xsl:if test="$pos eq 1">+</xsl:if>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MontantInitial"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold"><xsl:if test="$pos eq 1">+</xsl:if>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@DecisionsModificatives"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@VirementsCredits"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold"><xsl:if test="$pos eq 1">+</xsl:if>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@PrevisionsTotales"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold"><xsl:if test="$pos eq 1">+</xsl:if>
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetConstate"/>
- </xsl:call-template>
- </td>
- <td class="center bordureRight bordureTop bordureBottom bold"><xsl:value-of select="@EcartRealise"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td class="bordureRight"><xsl:value-of select="$comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Compte"/></td>
- <td class="bordureRight"><xsl:value-of select="$comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MontantInitial"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@DecisionsModificatives"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@VirementsCredits"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@PrevisionsTotales"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetConstate"/>
- </xsl:call-template>
- </td>
- <td class="center bordureRight"><xsl:value-of select="@EcartRealise"/></td>
- </xsl:otherwise>
- </xsl:choose>
- </tr>
- <xsl:if test="$Modele='722' and number($nb.lignes)=$pos">
- <tr>
- <xsl:choose>
- <xsl:when test="$Modele='722' and number($nb.lignes)=$pos">
-
- <xsl:choose>
- <xsl:when test="(($pos + 1) mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- </xsl:choose>
- <td class="bordureRight bordureTop bordureBottom center" colspan="2"><xsl:value-of select="$comptes.libelles//n:Type[@V='TF' and @Modele=$Modele]/n:CompteLibelle[position()=($pos+1)]/@Libelle"/></td>
- <td class="montant bordureRight bordureTop bordureBottom bold"> </td>
- <td class="montant bordureRight bordureTop bordureBottom bold"> </td>
- <td class="montant bordureRight bordureTop bordureBottom bold"> </td>
- <td class="montant bordureRight bordureTop bordureBottom bold"> </td>
- <td class="montant bordureRight bordureTop bordureBottom bold"> </td>
- <td class="montant bordureRight bordureTop bordureBottom bold"> </td>
- </tr>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </tbody>
- </table>
- </xsl:template>
-
-
- <xsl:template name="mainTable.TSSP">
- <xsl:param name="el"/>
-
- <table width="100%" class="borderedInside">
- <colgroup>
- <col width="50%"/>
- <col width="50%"/>
- </colgroup>
- <tbody>
- <tr>
- <td class="bold noborder">Tableau de suivi des stocks de production</td>
- <td class="bold right noborder"> </td>
- </tr>
- </tbody>
- </table>
- <table width="100%" id="main" class="bordered">
- <colgroup>
- <col width="10%"/>
- <col width="30%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- <col width="10%"/>
- </colgroup>
- <thead>
- <tr class="titre">
- <td class="titre bold center borderedBold">Chapitres</td>
- <td class="titre bold center borderedBold">Intitulés</td>
- <td class="titre bold center borderedBold">TS initial</td>
- <td class="titre bold center borderedBold">Décisions<br/>modificatives</td>
- <td class="titre bold center borderedBold">Virements de crédits</td>
- <td class="titre bold center borderedBold">Prévisions totales</td>
- <td class="titre bold center borderedBold">Net constaté</td>
- <td class="titre bold center borderedBold">Ecart réal. -<br/>prév. en %</td>
- </tr>
- </thead>
- <tbody>
- <xsl:variable name="nb.lignes" select="count($el/n:LigneSituationDeveloppee)"/>
- <xsl:for-each select="$el/n:LigneSituationDeveloppee">
- <xsl:variable name="pos" select="position()"/>
- <xsl:choose>
- <xsl:when test="count($comptes.libelles//n:Type[@V='TSSP' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]) eq 0 and string-length(@MontantInitial) eq 0 and string-length(@DecisionsModificatives) eq 0 and string-length(@VirementsCredits) eq 0 and string-length(@PrevisionsTotales) eq 0 and string-length(@NetConstate) eq 0 and string-length(@EcartRealise) eq 0">
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- </tr>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$pos eq 1">
- <tr><td class="bordureRight bordureTop bordureBottom bold center" colspan="8">EMPLOIS</td></tr>
- </xsl:when>
- <xsl:when test="$pos eq 5">
- <tr><td class="bordureRight bordureTop bordureBottom bold center" colspan="8">RESSOURCES</td></tr>
- </xsl:when>
- </xsl:choose>
- <tr>
- <xsl:choose>
- <xsl:when test="$numCompte != '0' and @NumCompte=$numCompte">
- <xsl:attribute name="id">highlighted</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <!--xsl:when test="$pos eq 1 or $pos eq 6">
- <td class="bordureRight bordureTop bordureBottom bold center" colspan="8"><xsl:value-of select="$comptes.libelles//n:Type[@V='TSSP' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- </xsl:when-->
- <xsl:when test="$pos eq 4 or $pos eq $nb.lignes or $pos eq (number($nb.lignes)-1)">
- <td class="bordureRight bordureTop bordureBottom bold center" colspan="2"><xsl:value-of select="$comptes.libelles//n:Type[@V='TSSP' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MontantInitial"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@DecisionsModificatives"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@VirementsCredits"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@PrevisionsTotales"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight bordureTop bordureBottom bold">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetConstate"/>
- </xsl:call-template>
- </td>
- <td class="center bordureRight bordureTop bordureBottom bold"><xsl:value-of select="@EcartRealise"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td class="bordureRight"><xsl:value-of select="$comptes.libelles//n:Type[@V='TSSP' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Compte"/></td>
- <td class="bordureRight"><xsl:value-of select="$comptes.libelles//n:Type[@V='TSSP' and @Modele=$Modele]/n:CompteLibelle[position()=$pos]/@Libelle"/></td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@MontantInitial"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@DecisionsModificatives"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@VirementsCredits"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@PrevisionsTotales"/>
- </xsl:call-template>
- </td>
- <td class="montant bordureRight">
- <xsl:call-template name="number">
- <xsl:with-param name="num" select="@NetConstate"/>
- </xsl:call-template>
- </td>
- <td class="center bordureRight"><xsl:value-of select="@EcartRealise"/></td>
- </xsl:otherwise>
- </xsl:choose>
- </tr>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </tbody>
- </table>
- </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
<CompteLibelle Type="vide"/>
<CompteLibelle pos="12" Compte1="" Libelle1="Total ....." Compte2="" Libelle2="Total ....." Libelle3="Marge sur prêts" Type="total"/>
<CompteLibelle pos="13" Compte1="7041" Libelle1="Loyers des logements non<br/>conventionnés" Compte2="Dotations aux amortissements:" Type="sous.titre.2"/>
- <CompteLibelle pos="14" Compte1="7043" Libelle1="Loyers des logements<br/>conventionnés" Compte2="681112 -681113 et 681114 :" Libelle2="Baux emphytéotiques, à construction, à réhabilitation"/>
+ <CompteLibelle pos="14" Compte1="7043" Libelle1="Loyers des logements<br/>conventionnés" Compte2="681112 -681113, 681114 et 681115 :" Libelle2="Baux emphytéotiques, à construction, à réhabilitation, droit d'usufruit locatif social"/>
<CompteLibelle pos="15" Compte1="Autres 704" Libelle1="Autres loyers" Compte2="681122" Libelle2="Agencements et aménagements de terrains"/>
<CompteLibelle pos="16" Compte2="681123 et 681124 (sauf 68112315, 6811235, 68112415 et 6811245) :" Libelle2="Constructions locatives"/>
<CompteLibelle pos="17" Compte1="742" Libelle1="Primes à la construction" Compte2="68725" Libelle2="Amortissements dérogatoires"/>
<CompteLibelle Type="vide"/>
<CompteLibelle pos="0" Compte2="Charges d'intérêts nettes de bonifications (C.669) :"/>
<CompteLibelle pos="1" Compte1="777" Libelle1="Subventions d'investissement virées au résultat de l'exercice" Compte2="661121" Libelle2="Opérations locatives - Crédits relais et avances"/>
- <CompteLibelle pos="2" Compte2="6611221" Libelle2="Opérations locatives - Financements définitifs (net de 6691)"/>
+ <CompteLibelle pos="2" Compte2="6611221 (net de 6691)" Libelle2="Opérations locatives - Financements définitifs (net de 6691)"/>
<CompteLibelle pos="3" Compte1="7963" Libelle1="Intérêts compensateurs" Compte2="661123" Libelle2="Intérêts compensateurs"/>
<CompteLibelle pos="4" Compte1="7222" Libelle1="Production immobilisée - immeubles de rapport (frais financiers externes)" Compte2="661124" Libelle2="Intérêts de préfinancement consolidables"/>
<CompteLibelle pos="5" Compte1="78725" Libelle1="Reprises d'amortissements dérogatoires"/>
<CompteLibelle pos="11" Libelle3="RESULTAT COURANT" Type="total.plus"/>
</Type>
<Type Modele="416">
- <CompteLibelle pos="1" Compte1="771 -7731" Libelle1="Produits exceptionnels sur opérations de gestion" Compte2="671 -6731" Libelle2="Charges exceptionnelles sur opérations de gestion"/>
+ <CompteLibelle pos="1" Compte1="771-773 sauf 7732" Libelle1="Produits exceptionnels sur opérations de gestion" Compte2="671-673 sauf 6732" Libelle2="Charges exceptionnelles sur opérations de gestion"/>
<CompteLibelle pos="2" Compte1="775" Libelle1="Produits des cessions d'éléments d'actif" Compte2="675" Libelle2="Valeurs comptables des éléments d'actif cédés, démolis, remplacés"/>
<CompteLibelle pos="3" Compte1="778" Libelle1="Autres produits exceptionnels" Compte2="678" Libelle2="Autres charges exceptionnelles"/>
<CompteLibelle pos="4" Compte1="787 sauf 78725" Libelle1="Autres reprises sur prov. et dépréc. exception." Compte2="687 sauf 68725" Libelle2="Autres dotations aux amortissements, aux dépréciations et aux provisions exceptionnelles"/>
<CompteLibelle pos="7" Compte="418" Libelle="-Produits non encore facturés"/>
<CompteLibelle pos="8" Compte="40711 -40721" Libelle="-Différences de conversion ou d'indexation -Fournisseurs"/>
<CompteLibelle pos="9" Compte="40911" Libelle="-Fournisseurs d'exploitation débiteurs"/>
- <CompteLibelle pos="10" Compte="2768" Libelle="-Intérêts courus"/>
+ <CompteLibelle pos="10" Compte="2678 - 2768" Libelle="-Intérêts courus"/>
<CompteLibelle pos="11" Compte="42 -43 -44 (sauf 4412)" Libelle="-Autres"/>
<CompteLibelle pos="12" Compte="4861" Libelle="-Charges constatées d'avance (exploitation)"/>
<CompteLibelle Type="vide"/>
+++ /dev/null
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE xsl:stylesheet [
-<!ENTITY nbsp " ">
-<!ENTITY egrave "è">
-<!ENTITY euro "€">
-<!ENTITY agrave "à">
-<!ENTITY eacute "é">
-]>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.xemelios.org/namespaces#cg-1.0" xmlns:n="http://www.xemelios.org/namespaces#cg-1.0" xmlns:added="http://projets.admisource.gouv.fr/xemelios/namespaces#added" xmlns:fn="http://projets.admisource.gouv.fr/xemelios/namespaces#functions" version="2.0">
- <!-- Paramètres de sortie -->
- <xsl:character-map name="accents">
- <xsl:output-character character="à" string="&#224;"/>
- <xsl:output-character character="é" string="&#233;"/>
- <xsl:output-character character="è" string="&#232;"/>
- <xsl:output-character character="ê" string="&#234;"/>
- <xsl:output-character character="ë" string="&#235;"/>
- <xsl:output-character character="î" string="&#238;"/>
- <xsl:output-character character="ï" string="&#239;"/>
- <xsl:output-character character="ô" string="&#244;"/>
- <xsl:output-character character="ù" string="&#249;"/>
- <xsl:output-character character="°" string="&#176;"/>
- </xsl:character-map>
- <xsl:output method="xhtml" indent="yes" use-character-maps="accents" encoding="ISO-8859-1"/>
- <xsl:decimal-format name="decformat" decimal-separator="," grouping-separator=" " digit="#" pattern-separator=";" NaN="NaN" minus-sign="-"/>
-
- <!-- Inclusion des XSL externes -->
- <xsl:include href="common-xsl/Title.xsl"/>
- <xsl:include href="common-xsl/Style.xsl"/>
- <xsl:include href="common-xsl/Error.xsl"/>
- <xsl:include href="common-xsl/Navigate.xsl"/>
- <xsl:include href="common-xsl/Header.xsl"/>
- <xsl:include href="common-xsl/Number.xsl"/><xsl:include href="common-xsl/Footer.xsl"/>
-
- <!-- Paramètres Web -->
- <xsl:param name="is.web">-1</xsl:param>
- <xsl:param name="context.path"/>
-
- <!-- Paramètres d'entrée -->
- <xsl:param name="show.formulaire"/>
- <xsl:param name="browser-destination"/>
-
- <!-- Paramètres d'entrée de la liste de résultat -->
- <xsl:param name="numCompte">0</xsl:param>
-
- <!-- Paramètres d'erreur -->
- <xsl:param name="error.message">nomessage</xsl:param>
-
- <!-- Variables -->
- <xsl:variable name="page-format" select="paysage"/>
- <xsl:variable name="NumPage" select="/n:CompteGestion/n:VariationFondRoulement/n:PageVariationFondRoulement/n:Pied/@NumPage"/>
- <xsl:variable name="isLastPage" select="/n:CompteGestion/n:VariationFondRoulement/n:PageVariationFondRoulement/@added:isLastPage"/>
- <xsl:variable name="Entete">
- <xsl:copy-of select="/n:CompteGestion/n:Entete"/>
- </xsl:variable>
- <xsl:variable name="Nomenclature" select="$Entete//n:Nomenclature/@V"/>
- <xsl:variable name="Modele" select="//n:VariationFondRoulement/n:PageVariationFondRoulement/@Modele"/>
-
- <xsl:variable name="Titre">TABLEAU DE FINANCEMENT - EMPLOIS ET RESSOURCES DE L'EXERCICE</xsl:variable>
-
- <!-- pour eviter les sorties parasites de tags non matches -->
- <xsl:template match="*"/>
-
- <xsl:variable name="comptes.libelles">
- <ComptesLibelles>
- <Type Modele="013">
- <CompteLibelle pos="1" style="(lib2;bold)(mt1;bordureBottomBold)(mt2;bordureBottomBold)(mt3;bordered)(mt4;bordered)(lib4;bold)" Libelle1="TABLEAU 4 (sauf virements de compte à compte)" Libelle2="ACQUISITIONS D'ELEMENTS DE L'ACTIF IMMOBILISE" Libelle3="" Libelle4="CAPACITE D'AUTOFINANCEMENT DE L'EXERCICE"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="2" Libelle1="" Compte1="20 -232 -237" Libelle2="-IMMOBILISATIONS INCORPORELLES (1)" Libelle3="CAF PCG -Annexe 13" Compte2="" Libelle4="CAPACITE D'AUTOFINANCEMENT PCG"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="3" Libelle1="" Compte1="" Libelle2="" Libelle3="" Compte2="6863 *" Libelle4="- DOTATIONS AUX AMORTISSEMENTS DES INTERÊTS COMPENSATEURS A REPARTIR"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="4" style="(mt1;bordered)(mt2;bordered)" Libelle1="" Compte1="" Libelle2="-IMMOBILISATIONS CORPORELLES (1)" Libelle3="" Compte2="" Libelle4=""/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="5" Libelle1="" Compte1="211 - 212 - 2312" Libelle2="Terrains, agencements et aménagements de terrain" Libelle3="" Compte2="" Libelle4=""/>
- <CompteLibelle pos="6" Libelle1="" Compte1="213 - 214 - 2313 -2314 (sauf 21315 - 2135 - 21415 - 2145 - 231315 - 231415)" Libelle2="Constructions locatives" Libelle3="" Compte2="" Libelle4=""/>
- <CompteLibelle pos="7" style="(mt3;bordered)(mt4;bordered)(lib4;bold)" Libelle1="" Compte1="" Libelle2="" Libelle3="TABLEAU 4 et COMPTE 775" Compte2="" Libelle4="CESSION OU REDUCTION D'ELEMENTS DE L'ACTIF IMMOBILISE (2)"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="8" Libelle1="" Compte1="21315 - 2135 - 21415 - 2145 - 231315 - 231415" Libelle2="Bâtiments et installations administratifs" Libelle3="" Compte2="" Libelle4=""/>
- <CompteLibelle pos="9" Libelle1="" Compte1="215 -218 - 2318" Libelle2="Installations techniques, matériel, outillage, autres immo.corporelles" Libelle3="" Compte2="20 -232 * -237 *" Libelle4="-IMMOBILISATIONS INCORPORELLES"/>
- <CompteLibelle pos="10" Libelle1="" Compte1="22" Libelle2="Immeubles en location-vente et immeubles reçus en affectation" Libelle3="" Compte2="" Libelle4=""/>
- <CompteLibelle pos="11" Libelle1="" Compte1="238" Libelle2="Avances et acomptes versés sur immobilisations corporelles" Libelle3="" Compte2="21 -23 * (sauf 232 -237)" Libelle4="-IMMOBILISATIONS CORPORELLES"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="12" style="(mt3;bordered)(mt4;bordered)" Libelle1="" Compte1="" Libelle2="-IMMOBILISATIONS FINANCIERES (1)" Libelle3="" Compte2="22" Libelle4="-IMMEUBLES EN LOCATION-VENTE et IMMEUBLES RECUS EN AFFECTATION"/>
- <CompteLibelle pos="13" Libelle1="" Compte1="2781" Libelle2="Prêts principaux accession" Libelle3="" Compte2="" Libelle4=""/>
- <CompteLibelle pos="14" Libelle1="" Compte1="2782" Libelle2="Prêts complémentaires accession" Libelle3="" Compte2="" Libelle4="-IMMOBILISATIONS FINANCIERES (1)"/>
- <CompteLibelle pos="15" Libelle1="" Compte1="26 et autres 27" Libelle2="Autres (sauf intérêts courus)" Libelle3="" Compte2="" Libelle4=""/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="16" Libelle1="" Compte1="" Libelle2="" Libelle3="" Compte2="2781" Libelle4="Prêts principaux accession"/>
- <CompteLibelle pos="17" style="(lib2;bold)(mt1;bordered)(mt2;bordered)" Libelle1="" Compte1="" Libelle2="CHARGES A REPARTIR SUR PLUSIEURS EXERCICES" Libelle3="" Compte2="2782" Libelle4="Prêts complémentaires accession"/>
- <CompteLibelle pos="18" Libelle1="" Compte1="4813" Libelle2="-CHARGES DIFFEREES - INTERÊTS COMPENSATEURS" Libelle3="" Compte2="26 et autres 27" Libelle4="Autres (sauf intérêts courus)"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="19" Libelle1="TABLEAU 18" Compte1="4817" Libelle2="-GROSSES REPARATIONS A ETALER (transferts de l'exercice)" Libelle3="" Compte2="" Libelle4=""/>
- <CompteLibelle pos="" Libelle1="" Compte1="" Libelle2="" Libelle3="" Compte2="" Libelle4=""/>
- </Type>
- <Type Modele="014">
- <CompteLibelle pos="1" style="(mt3;bordered)(mt4;bordered)(lib4;bold)" Libelle1="" Compte1="Autres 481" Libelle2="-AUTRES CHARGES A REPARTIR (transferts de l'exercice)" Libelle3="" Libelle4="AUGMENTATION DES CAPITAUX PROPRES (3)"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="2" Libelle1="" Compte1="169" Libelle2="-PRIMES DE REMBOURSEMENT DES OBLIGATIONS" Libelle3="" Compte2="102 -103" Libelle4="-AUGMENTATION DES DOTATIONS"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="3" style="(lib2;bold)(mt1;bordered)(mt2;bordered)" Libelle1="" Compte1="" Libelle2="REDUCTION DES CAPITAUX PROPRES (3)" Libelle3="" Compte2="13 sauf 139" Libelle4="-COMPTABILISATION DES SUBVENTIONS D'INVESTISSEMENT"/>
- <CompteLibelle pos="4" Libelle1="" Compte1="13 sauf 139" Libelle2="-SUBVENTIONS" Libelle3="" Compte2="229" Libelle4="-DROITS DES LOCATAIRES ACQUEREURS, ET DROITS DES AFFECTANTS"/>
- <CompteLibelle pos="5" Libelle1="" Compte1="229" Libelle2="-DROITS DES LOCATAIRES ACQUEREURS, ET DROITS DES AFFECTANTS" Libelle3="" Compte2="" Libelle4=""/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="6" style="(lib2;bold)(mt1;bordered)(mt2;bordered)(mt3;bordered)(mt4;bordered)(lib4;bold)" Libelle1="ETAT DU PASSIF (Annexe VIII)" Compte1="16" Libelle2="REMBOURSEMENT DES DETTES FINANCIERES (4)" Libelle3="ETAT DU PASSIF (Annexe VIII)" Compte2="16" Libelle4="AUGMENTATION DES DETTES FINANCIERES (4)"/>
- <CompteLibelle pos="7" Libelle1="(CODES 2 et 3)" Compte1="" Libelle2="-LOCATION, AMELIORATION ET GROSSES REPARATIONS" Libelle3="(CODES 2 ET 3)" Compte2="" Libelle4="-LOCATION, AMELIORATION ET GROSSES REPARATIONS"/>
- <CompteLibelle pos="8" Libelle1="" Compte1="16883" Libelle2="-INTERÊTS COMPENSATEURS COURUS (diminution)" Libelle3="" Compte2="16883" Libelle4="-INTERÊTS COMPENSATEURS COURUS (augmentation)"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="9" Libelle1="(CODE 5)" Compte1="" Libelle2="-ACCESSION, EMPRUNTS CONSOLIDES" Libelle3="(CODE 5)" Compte2="" Libelle4="-ACCESSION, EMPRUNTS CONSOLIDES"/>
- <CompteLibelle pos="10" Libelle1="(CODES 1, 6 et 8)" Compte1="" Libelle2="-AUTRES (sauf relais)" Libelle3="(CODES 1, 6 et 8)" Compte2="" Libelle4="-AUTRES (sauf relais)"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="11" Libelle1="" Compte1="165" Libelle2="-DEPÔTS ET CAUTIONNEMENTS" Libelle3="" Compte2="165" Libelle4="-DEPÔTS ET CAUTIONNEMENTS"/>
- <CompteLibelle pos="12" Libelle1="" Compte1="166" Libelle2="-PARTICIPATIONS DES SALARIES AUX RESULTATS" Libelle3="" Compte2="166" Libelle4="-PARTICIPATIONS DES SALARIES AUX RESULTATS"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="13" style="(lib2;bold;center)(mt1;bordered)(mt2;bordered)(mt3;bordered)(mt4;bordered)(lib4;bold;center)" Libelle1="" Compte1="" Libelle2="TOTAL DES EMPLOIS" Libelle3="" Compte2="" Libelle4="TOTAL DES RESSOURCES"/>
- <CompteLibelle Type="vide"/>
- <CompteLibelle pos="14" style="(lib2;bold)(lib4;bold)" Libelle1="" Compte1="" Libelle2="VARIATION DU FONDS DE ROULEMENT NET GLOBAL (RESSOURCE NETTE)" Libelle3="" Compte2="" Libelle4="VARIATION DU FONDS DE ROULEMENT NET GLOBAL (EMPLOI NET)"/>
- </Type>
- </ComptesLibelles>
- </xsl:variable>
-
- <xsl:template match="/n:CompteGestion">
- <html>
- <head>
- <xsl:call-template name="title"><xsl:with-param name="Entete" select="//n:Entete"/><xsl:with-param name="etat"><xsl:value-of select="$Titre"/></xsl:with-param></xsl:call-template>
- <xsl:call-template name="style"/>
- </head>
- <body width="100%">
- <xsl:if test="$error.message!='nomessage'">
- <xsl:attribute name="onload">javascript:showDialog('<xsl:value-of select="$error.message"/>');</xsl:attribute>
- </xsl:if>
- <xsl:call-template name="Error"><!--xsl:with-param name="error.message" select="$error.message"/--></xsl:call-template>
- <xsl:call-template name="navigate">
- <xsl:with-param name="docId">cg-colloc</xsl:with-param>
- <xsl:with-param name="etatId">VariationFondRoulement</xsl:with-param>
- <xsl:with-param name="elementId">PageVariationFondRoulement</xsl:with-param>
- <xsl:with-param name="sous.elementId">LigneVariationFondRoulement</xsl:with-param>
- <xsl:with-param name="NumPage" select="$NumPage"/>
- <xsl:with-param name="isLastPage" select="$isLastPage"/>
- <xsl:with-param name="Entete" select="$Entete"/>
- <xsl:with-param name="show.formulaire" select="$show.formulaire"/>
- <xsl:with-param name="show.depense.recette" select="0"/>
- <xsl:with-param name="is.web" select="$is.web"/>
- <xsl:with-param name="context.path" select="$context.path"/>
- </xsl:call-template>
-
- <xsl:call-template name="header">
- <xsl:with-param name="Entete" select="$Entete"/>
- <xsl:with-param name="Titre"><xsl:value-of select="$Titre"/></xsl:with-param>
- <xsl:with-param name="Titre.Plus"><h2>VARIATION DU FONDS DE ROULEMENT</h2></xsl:with-param>
- </xsl:call-template>
-
- <!-- **************** DEBUG **************** -->
- <!--h1 style="color: red; background-color: yellow;">Type=<xsl:value-of select="/n:CompteGestion/n:VariationFondRoulement/n:PageVariationFondRoulement/@Type"/><br/>Modele=<xsl:value-of select="/n:CompteGestion/n:VariationFondRoulement/n:PageVariationFondRoulement/@Modele"/></h1-->
-
- <table width="100%" class="bordered" id="mainNoBorder">
- <colgroup>
- <col width="10%"/><!-- Libelle1 -->
- <col width="10%"/><!-- Compte1 -->
- <col width="20%"/><!-- Libelle2 -->
- <col width="5%"/><!-- Montant1 -->
- <col width="5%"/><!-- Montant2 -->
- <col width="10%"/><!-- Libelle3 -->
- <col width="10%"/><!-- Compte2 -->
- <col width="20%"/><!-- Libelle4 -->
- <col width="5%"/><!-- Montant3 -->
- <col width="5%"/><!-- Montant4 -->
- </colgroup>
- <thead>
- <tr class="titre">
- <td class="bold titre">SOURCES<br/>INFORMATION</td>
- <td class="bold right titre bordureRight">N° DE<br/>COMPTE</td>
- <td class="bold center titre bordureRight">EMPLOIS</td>
- <td class="bold center titre bordureRight">VARIATION<br/><xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice"/>/<xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice - 1"/></td>
- <td class="bold center titre bordureRight">VARIATION<br/><xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice - 1"/>/<xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice - 2"/></td>
- <td class="bold titre">SOURCES<br/>INFORMATION</td>
- <td class="bold right titre bordureRight">N° DE<br/>COMPTE</td>
- <td class="bold center titre bordureRight">RESSOURCES</td>
- <td class="bold center titre bordureRight">VARIATION<br/><xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice"/>/<xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice - 1"/></td>
- <td class="bold center titre bordureRight">VARIATION<br/><xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice - 1"/>/<xsl:value-of select="/n:CompteGestion/n:Entete/n:Infos/n:Collectivite/@Exercice - 2"/></td>
- </tr>
- <tr class="titre">
- <td colspan="2" class="bold center titre bordureRight bordureBottom">1</td>
- <td class="bold center titre bordureRight bordureBottom">2</td>
- <td class="bold center titre bordureRight bordureBottom">3</td>
- <td class="bold center titre bordureRight bordureBottom">4</td>
- <td colspan="2" class="bold center titre bordureRight bordureBottom">5</td>
- <td class="bold center titre bordureRight bordureBottom">6</td>
- <td class="bold center titre bordureRight bordureBottom">7</td>
- <td class="bold center titre bordureRight bordureBottom">8</td>
- </tr>
- </thead>
- <tbody>
- <xsl:call-template name="donnees">
- <xsl:with-param name="el" select="/n:CompteGestion/n:VariationFondRoulement/n:PageVariationFondRoulement"/>
- </xsl:call-template>
- </tbody>
- </table>
- <xsl:if test="$Modele='014'">
- <p class="tiny">(1) Y compris avances et acomptes versés.
- <br/>(2) Pour les éléments cédés, indiquer le prix de cession (ventilation du compte 775). Pour les abandons de projet, et les sorties d'immobilisations du compte 22 et remboursement des prêts pour les immobilisations financières, indiquer la valeur nette comptable.
- <br/>(3) Hors reprises sur réserves et affectations de résultat (tableau n°2 de l'annexe V du compte financier).
- <br/>(4) Sauf intérêts courus.
- <br/>* = moins</p>
- </xsl:if>
- <p>
- <xsl:call-template name="footer"><xsl:with-param name="num.page" select="$NumPage"/><xsl:with-param name="tracabilite"><xsl:copy-of select="//n:Tracabilite"/></xsl:with-param></xsl:call-template>
- </p>
-
- <xsl:call-template name="navigate">
- <xsl:with-param name="docId">cg-colloc</xsl:with-param>
- <xsl:with-param name="etatId">VariationFondRoulement</xsl:with-param>
- <xsl:with-param name="elementId">PageVariationFondRoulement</xsl:with-param>
- <xsl:with-param name="sous.elementId">LigneVariationFondRoulement</xsl:with-param>
- <xsl:with-param name="NumPage" select="$NumPage"/>
- <xsl:with-param name="isLastPage" select="$isLastPage"/>
- <xsl:with-param name="Entete" select="$Entete"/>
- <xsl:with-param name="show.formulaire" select="$show.formulaire"/>
- <xsl:with-param name="show.depense.recette" select="0"/>
- <xsl:with-param name="is.web" select="$is.web"/>
- <xsl:with-param name="context.path" select="$context.path"/>
- </xsl:call-template>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template name="donnees">
- <xsl:param name="el"/>
-
- <!-- $el//n:LigneVariationFondRoulement -->
- <xsl:for-each select="$comptes.libelles//n:Type[@Modele=$Modele]/n:CompteLibelle">
- <xsl:variable name="pos" select="@pos"/>
- <xsl:variable name="type" select="@Type"/>
- <xsl:choose>
- <xsl:when test="$type eq 'vide'">
- <tr>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- <td> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- <td class="bordureRight"> </td>
- </tr>
- </xsl:when>
- <xsl:when test="$pos and number($pos) gt 0">
- <xsl:variable name="ligne"><xsl:copy-of select="$el//n:LigneVariationFondRoulement[position()=$pos]"/></xsl:variable>
- <tr>
- <xsl:choose>
- <xsl:when test="(position() mod 2) = 0">
- <xsl:attribute name="id">colorised1</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="id">colorised2</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="string-length(@Libelle1) gt 0 and string-length(@Compte1) eq 0 ">
- <td colspan="2" class="bordureRight"><xsl:value-of select="@Libelle1" disable-output-escaping="yes"/></td>
- </xsl:when>
- <xsl:when test="string-length(@Compte1) gt 0 and string-length(@Libelle1) eq 0 ">
- <td colspan="2" class="right bordureRight"><xsl:value-of select="@Compte1" disable-output-escaping="yes"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td><xsl:value-of select="@Libelle1" disable-output-escaping="yes"/></td>
- <td class="right bordureRight"><xsl:value-of select="@Compte1" disable-output-escaping="yes"/></td>
- </xsl:otherwise>
- </xsl:choose>
- <td>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="contains(@style,'lib2')"><xsl:value-of select="fn:getStyles(@style,'lib2')"/> bordureRight</xsl:when>
- <xsl:otherwise>bordureRight</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:value-of select="@Libelle2" disable-output-escaping="yes"/>
- </td>
- <td>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="contains(@style,'mt1')">montant bordureRight <xsl:value-of select="fn:getStyles(@style,'mt1')"/></xsl:when>
- <xsl:otherwise>montant bordureRight</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:call-template name="number"><xsl:with-param name="num" select="$ligne//@MontantEmploisN_N-1"/></xsl:call-template></td>
- <td>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="contains(@style,'mt2')">montant bordureRight <xsl:value-of select="fn:getStyles(@style,'mt2')"/></xsl:when>
- <xsl:otherwise>montant bordureRight</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:call-template name="number"><xsl:with-param name="num" select="$ligne//@MontantEmploisN-1_N-2"/></xsl:call-template></td>
- <td><xsl:value-of select="@Libelle3" disable-output-escaping="yes"/></td>
- <td class="right bordureRight"><xsl:value-of select="@Compte2" disable-output-escaping="yes"/></td>
- <td>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="contains(@style,'lib4')">bordureRight <xsl:value-of select="fn:getStyles(@style,'lib4')"/></xsl:when>
- <xsl:otherwise>bordureRight</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:value-of select="@Libelle4" disable-output-escaping="yes"/></td>
- <td>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="contains(@style,'mt3')">montant bordureRight <xsl:value-of select="fn:getStyles(@style,'mt3')"/></xsl:when>
- <xsl:otherwise>montant bordureRight</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:call-template name="number"><xsl:with-param name="num" select="$ligne//@MontantRessourcesN_N-1"/></xsl:call-template></td>
- <td>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="contains(@style,'mt4')">montant bordureRight <xsl:value-of select="fn:getStyles(@style,'mt4')"/></xsl:when>
- <xsl:otherwise>montant bordureRight</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:call-template name="number"><xsl:with-param name="num" select="$ligne//@MontantRessourcesN-1_N-2"/></xsl:call-template></td>
- </tr>
- </xsl:when>
- </xsl:choose>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:function name="fn:getStyles">
- <xsl:param name="el"/>
- <xsl:param name="id"/>
- <xsl:variable name="separator.deb">\(</xsl:variable>
- <xsl:variable name="separator.fin">\)</xsl:variable>
- <xsl:variable name="separator.data">;</xsl:variable>
- <xsl:variable name="styles">
- <styles>
- <xsl:for-each select="tokenize($el,$separator.fin)">
- <xsl:variable name="this"><xsl:value-of select="replace(.,$separator.deb,'')"/></xsl:variable>
- <xsl:variable name="sts"><sts><xsl:for-each select="tokenize($this,$separator.data)"><st><xsl:value-of select="."/></st></xsl:for-each></sts></xsl:variable>
- <style>
- <xsl:attribute name="id"><xsl:value-of select="$sts//n:st[1]/text()"/></xsl:attribute>
- <xsl:attribute name="style"><xsl:for-each select="$sts//n:st"><xsl:if test="position() gt 1"><xsl:value-of select="text()"/><xsl:if test="position() lt count($sts//n:st) and count($sts//n:st) gt 2"> </xsl:if></xsl:if></xsl:for-each></xsl:attribute>
- </style>
- </xsl:for-each>
- </styles>
- </xsl:variable>
- <xsl:sequence select="$styles//n:style[@id=$id]/@style"/>
- </xsl:function>
-</xsl:stylesheet>
\ No newline at end of file