<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE 
    name="PMSI003696"
    label="PMSI. Justificatif Simulation FG 2324 EXB-EXH"
    title="= 'Justificatif EXB-EXH FG 2324 (' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ')' "
    database="iCTI" 
    swf="*CTI_view1" 
    softCode="iCTI_pmsi" 
    typeEts="" globals="PMSI_globals.XML" 
    componentsFile="PMSI_components.XML" 
    helpDokuWIkiDir="" 
    helpDokuWIkiFile="pmsi000456"  
    helpFile="iCTI_PMSI_PMSI000456.HTML"
>
    <VIEWPROPERTIES>
        <PROPERTY name="NO_RSS_SELECT" value="[EVAL 
                                            if (('[NO_RSS]' + 0) != 0) {return 'AND v_rss_1.no_rss = ' . ('[NO_RSS]' + 0);}
                                            return '';
                                        EVAL]" />
        <PROPERTY name="NOM_SELECT" value="[EVAL 
                                            if ('[NOM]' != '') {return 'AND identite_nom ILIKE ' .''. '[NOM]%' .''.  ' ' ;}
                                            return '';
                                        EVAL]" />
        <PROPERTY name="ECARTSUP_SELECT" value="[EVAL 

                                            if ('[ECARTSUP]' == 'NE') {return 'AND (nb_exh_fg0 &lt;&gt; nb_exh_fg1 OR montant_exh_fg0 &lt;&gt; montant_exh_fg1 )';}
                                            if ('[ECARTSUP]' == 'EQ') {return 'AND nb_exh_fg0 = nb_exh_fg1 AND montant_exh_fg0 = montant_exh_fg1';}
                                            return '';
                                        EVAL]" />
        <PROPERTY name="ECARTSUP_EXB_SELECT" value="[EVAL 

                                            if ('[ECARTSUP]' == 'NE') {return 'AND (montant_exb_fg0 &lt;&gt; montant_exb_fg1 )';}
                                            if ('[ECARTSUP]' == 'EQ') {return 'AND montant_exb_fg0 = montant_exb_fg1';}
                                            return '';
                                        EVAL]" />
        <PROPERTY name="SIMULATION_FILTERS_RAAC">
            <value><![CDATA[[EVAL 
                // <?php
                $select = '';
            
                if ('[FILTRES_RSS_RAAC]' != '-1') {
                        if ('[FILTRES_RSS_RAAC]' == '1') {
                            $select = " AND v_rss_1.ghm_id IN (SELECT oid FROM pmsi.t_ghm_c WHERE substr(code, 0, 6) IN ('04C04',
                                                                                                                                                '06C03',
                                                                                                                                                '06C04',
                                                                                                                                                '06C07',
                                                                                                                                                '06C16',
                                                                                                                                                '07C09',
                                                                                                                                                '08C24',
                                                                                                                                                '08C25',
                                                                                                                                                '08C27',
                                                                                                                                                '08C48',
                                                                                                                                                '08C52',
                                                                                                                                                '10C13',
                                                                                                                                                '11C02',
                                                                                                                                                '12C11',
                                                                                                                                                '13C03',
                                                                                                                                                '13C14',
                                                                                                                                                '13C15',
																																				'04C02',
																																				'08C22' )
                                                )";
                        }
                        if ('[FILTRES_RSS_RAAC]' == '2') {
                            $select = " AND v_rss_1.ghm_id IN (SELECT oid FROM pmsi.t_ghm_c WHERE substr(code, 0, 6) IN ('04C04',
                                                                                                                                                '06C03',
                                                                                                                                                '06C04',
                                                                                                                                                '06C07',
                                                                                                                                                '06C16',
                                                                                                                                                '07C09',
                                                                                                                                                '08C24',
                                                                                                                                                '08C25',
                                                                                                                                                '08C27',
                                                                                                                                                '08C48',
                                                                                                                                                '08C52',
                                                                                                                                                '10C13',
                                                                                                                                                '11C02',
                                                                                                                                                '12C11',
                                                                                                                                                '13C03',
                                                                                                                                                '13C14',
                                                                                                                                                '13C15',
																																				'04C02',
																																				'08C22' )
                                                )";
                            $select .= " AND v_rss_1.duree_sejour <= 2";
                            $select .= " AND v_rss_1.mode_sortie NOT IN ('6','7','9')";                                                        
                        }                       
                        if ('[FILTRES_RSS_RAAC]' == '3') {
                            $select = " AND p_simulation_fg2324.is_raac = 'is_raac' ";
                        }                       
                }
                
                return $select;
                // ?>
            EVAL]]]></value>
        </PROPERTY>                                        
    </VIEWPROPERTIES>

    <SELECTIONS label="Paramètres de l'analyse" displayText="">
        <GROUP label="Période">
            <FIELD name="PERIODE" label="" UI="combo" tree="true" width="200" default="2023-03-01">
                <OPTION dataLink="DATE_DEBUT" treeLevelField="lvl" dataField="cod" aliasField="alias" data2Field="mois" labelField="txt" />
            </FIELD>
            <FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2024-02-29" >
                <OPTION dataLink="DATE_FIN" treeLevelField="lvl" dataField="cod" aliasField="alias" data2Field="mois" labelField="txt" />
            </FIELD>
        </GROUP>
        <GROUP label="Ecarts">
            <FIELD name="ECARTSUP" label="" UI="combo" tree="false" width="400" default="-1">
                <OPTION label="Pas de sélection" data="-1"/>
                <OPTION label="EXH-EXB Identiques " data="EQ"/>
                <OPTION label="EXH-EXB différents" data="NE"/>
            </FIELD>
        </GROUP>
        <GROUP label="N° de RSS">
            <FIELD name="NO_RSS" label="" UI="number" width="100" default="" showIfNotDefault="true">
            </FIELD>
        </GROUP>
        <GROUP label="Ou Nom">
            <FIELD name="NOM" label="" UI="text" width="200" default="" showIfNotDefault="true">
            </FIELD>
        </GROUP>
    </SELECTIONS>
    <SELECTIONS label="Paramètres de l'analyse" displayText="= var display:String = '';
                    if (SELECT.FILTRES_RSS_RAAC  != '-1') {
                        display = display + '  Raac : #B#' + SELECT.FILTRES_RSS_RAAC_LABEL + '#/B#';
                    }
                    return display;
                    "> 
        <GROUP label="Séjours RAAC">
            <FIELD name="FILTRES_RSS_RAAC" width="300" label="Séjours RAAC" UI="combo" default="-1" >
                <OPTION label="Pas de sélection" data="-1"/>
                <OPTION label="Eligibles RAAC par liste GHM" data="1"/>     
                <OPTION label="Eligibles RAAC (GHM et moins de 3 nuits et mode sortie different 6,7,9)" data="2"/>
                <OPTION label="RAAC" data="3"/>
            </FIELD>
        </GROUP>
    </SELECTIONS>       
    <SELECTIONS componentName="FILTRES_RSS_SELECTIONS"/>
    <QUERIES>
        <QUERY label="">
            <SQL optimizer="V_RSS_X">
                <select><![CDATA[
                DROP TABLE IF EXISTS pmsi000201
                ;
                
                CREATE TEMP TABLE pmsi000201 AS 
                    SELECT * 
                    FROM pmsi.p_simulation_fg2324
                    WHERE 1=1
                        AND p_simulation_fg2324.est_envoye = '1'
                        AND p_simulation_fg2324.est_regroupe = '1'
                        AND (nb_exh_fg0 > 0 OR nb_exh_fg1 > 0)   
                ;
                
                (
                SELECT 
                    v_rss_1.rss_id, 
                    v_rss_1.no_rss, 
                    v_rss_1.no_sejour_administratif,
                    v_rss_1.finess, 
                    identite_nom || ' ' || identite_prenom,
                    sexe, age,
                    date_sortie,
                    duree_sejour,
                    diagnostic_principal_code, 
                    t_ghm_fg0.code,
                    t_ghs_fg0.code,
                    nb_exh_fg0,
                    montant_exh_fg0,
                    ghm_fg1_code,
                    ghs_fg1_code,
                    nb_exh_fg1,
                    montant_exh_fg1,
                    nb_exh_fg1 - nb_exh_fg0,
                    montant_exh_fg1 - montant_exh_fg0
                FROM 
                    #V_RSS_X#,
                    pmsi000201,
                    pmsi.t_ghm AS t_ghm_fg0, 
                    pmsi.t_ghs AS t_ghs_fg0
                WHERE 1=1
                    AND date_sortie >= '[PERIODE]'
                    AND date_sortie <= '[TOPERIODE]'
                    AND pmsi000201.rss_id = v_rss_1.rss_id
                    AND pmsi000201.ghm_fg0_id = t_ghm_fg0.oid
                    AND pmsi000201.ghs_fg0_id = t_ghs_fg0.oid
                    [VIEW.FILTRE_RSS_SELECT]
                    [VIEW.NO_RSS_SELECT]
                    [VIEW.NOM_SELECT]
                    [VIEW.ECARTSUP_SELECT]
                    [VIEW.SIMULATION_FILTERS_RAAC]                    
                )
                UNION ALL
                (
                SELECT 
                    -9999999, 
                    0, 
                    '', 
                    '',
                    SUM(nb_rsa)::text || ' séjours' , 
                    '',
                    0, 
                    null, 
                    0, 
                    '',
                    '', 
                    0, 
                    SUM(nb_exh_fg0),
                    SUM(montant_exh_fg0),
                    '', 0,
                    SUM(nb_exh_fg1),
                    SUM(montant_exh_fg1),
                    SUM(nb_exh_fg1) - SUM(nb_exh_fg0),
                    SUM(montant_exh_fg1) - SUM(montant_exh_fg0)
                FROM 
                    #V_RSS_X#, 
                    pmsi000201
                WHERE 1=1
                    AND date_sortie >= '[PERIODE]'
                    AND date_sortie <= '[TOPERIODE]'
                    AND pmsi000201.rss_id = v_rss_1.rss_id
                    [VIEW.FILTRE_RSS_SELECT]
                    [VIEW.NO_RSS_SELECT]
                    [VIEW.NOM_SELECT]
                    [VIEW.ECARTSUP_SELECT]
                    [VIEW.SIMULATION_FILTERS_RAAC]                    
                )
                ORDER BY 2
                ;
                ]]></select>
                <FIELDS>
                    <FIELD name="OID"/>
                    <FIELD name="RSS"/>
                    <FIELD name="SEJ"/>
                    <FIELD name="FIN"/>
                    <FIELD name="NOM" ifHideNames="Non autorisé"/>
                    <FIELD name="SEX"/>
                    <FIELD name="AGE"/>
                    <FIELD name="DATE"/>
                    <FIELD name="NBJ"/>
                    <FIELD name="DP"/>
                    <FIELD name="GHM12"/>
                    <FIELD name="GHS12"/>
                    <FIELD name="NEXH12"/>
                    <FIELD name="M12"/>
                    <FIELD name="GHM13"/>
                    <FIELD name="GHS13"/>
                    <FIELD name="NEXH13"/>
                    <FIELD name="M13"/>
                    <FIELD name="NEC"/>
                    <FIELD name="MEC"/>
                </FIELDS>
            </SQL>
        </QUERY>
        <QUERY label="">
            <SQL optimizer="V_RSS_X">
                <select><![CDATA[
                
                DROP TABLE IF EXISTS pmsi000201
                ;
                
                CREATE TEMP TABLE pmsi000201 AS 
                    SELECT * 
                    FROM pmsi.p_simulation_fg2324
                    WHERE 1=1
                        AND p_simulation_fg2324.est_envoye = '1'
                        AND p_simulation_fg2324.est_regroupe = '1'
                        AND (montant_exb_fg0 <> 0 OR montant_exb_fg1 <> 0) 
                ;

                (
                SELECT 
                    v_rss_1.rss_id, 
                    v_rss_1.no_rss, 
                    v_rss_1.no_sejour_administratif, 
                    v_rss_1.finess, 
                    identite_nom || ' ' || identite_prenom,
                    sexe, 
                    age, 
                    date_sortie, 
                    duree_sejour, 
                    diagnostic_principal_code, 
                    t_ghm_fg0.code,
                    t_ghs_fg0.code,
                    montant_exb_fg0,
                    ghm_fg1_code,
                    ghs_fg1_code,
                    montant_exb_fg1,
                    montant_exb_fg1 - montant_exb_fg0
                FROM 
                    #V_RSS_X#, 
                    pmsi000201, 
                    pmsi.t_ghm AS t_ghm_fg0, 
                    pmsi.t_ghs AS t_ghs_fg0
                WHERE 1=1
                    AND date_sortie >= '[PERIODE]'  
                    AND date_sortie <= '[TOPERIODE]'
                    AND pmsi000201.rss_id = v_rss_1.rss_id
                    AND pmsi000201.ghm_fg0_id = t_ghm_fg0.oid
                    AND pmsi000201.ghs_fg0_id = t_ghs_fg0.oid
                    [VIEW.FILTRE_RSS_SELECT]
                    [VIEW.NO_RSS_SELECT]
                    [VIEW.NOM_SELECT]
                    [VIEW.ECARTSUP_EXB_SELECT]
                    [VIEW.SIMULATION_FILTERS_RAAC]                                        
                )
                UNION ALL
                (
                SELECT 
                    -9999999, 
                    0, 
                    '', 
                    '',
                    SUM(nb_rsa)::text || ' séjours', 
                    '', 
                    0, 
                    null, 
                    0, 
                    '',
                    '', 
                    0, 
                    SUM(montant_exb_fg0),
                    '', 
                    0,
                    SUM(montant_exb_fg1),
                    SUM(montant_exb_fg1) - SUM(montant_exb_fg0)
                FROM 
                    #V_RSS_X#, 
                    pmsi000201
                WHERE 1=1
                    AND date_sortie >= '[PERIODE]'  
                    AND date_sortie <= '[TOPERIODE]'
                    AND pmsi000201.rss_id = v_rss_1.rss_id
                    [VIEW.FILTRE_RSS_SELECT]
                    [VIEW.NO_RSS_SELECT]
                    [VIEW.NOM_SELECT]
                    [VIEW.ECARTSUP_EXB_SELECT]
                    [VIEW.SIMULATION_FILTERS_RAAC]                                        
                )
                ORDER BY 2
                ;
                ]]></select>
                <FIELDS>
                    <FIELD name="OID"/>
                    <FIELD name="RSS"/>
                    <FIELD name="SEJ"/>
                    <FIELD name="FIN"/>
                    <FIELD name="NOM" ifHideNames="Non autorisé"/>
                    <FIELD name="SEX"/>
                    <FIELD name="AGE"/>
                    <FIELD name="DATE"/>
                    <FIELD name="NBJ"/>
                    <FIELD name="DP"/>
                    <FIELD name="GHM12"/>
                    <FIELD name="GHS12"/>
                    <FIELD name="M12"/>
                    <FIELD name="GHM13"/>
                    <FIELD name="GHS13"/>
                    <FIELD name="M13"/>
                    <FIELD name="MEC"/>
                </FIELDS>
            </SQL>
        </QUERY>
        <QUERY type="comboLink" name="DATE_DEBUT" > 
            <SQL select="SELECT date, alias, texte, mois, level 
				FROM pmsi.v_calendrier_1 
				WHERE date_part('year',date) IN (SELECT annee_sortie FROM pmsi.p_simulation_fg2324 WHERE est_envoye &lt;&gt; '0' GROUP BY 1)" >
                <FIELDS>
                    <FIELD name="cod" />
                    <FIELD name="alias" />
                    <FIELD name="txt" />
                    <FIELD name="mois" />
                    <FIELD name="lvl" />
                </FIELDS>
            </SQL>
        </QUERY>
        <QUERY type="comboLink" name="DATE_FIN" > 
            <SQL select="SELECT date, alias, texte, mois, level 
				FROM pmsi.v_calendrier_2 
				WHERE date_part('year',date) IN (SELECT annee_sortie FROM pmsi.p_simulation_fg2324 WHERE est_envoye &lt;&gt; '0' GROUP BY 1)" >
                <FIELDS>
                    <FIELD name="cod" />
                    <FIELD name="alias" />
                    <FIELD name="txt" />
                    <FIELD name="mois" />
                    <FIELD name="lvl" />
                </FIELDS>
            </SQL>
        </QUERY>
    </QUERIES>
    <PRESENTATION>
        <VIEWLINKS>
            <VIEWLINK label="Détail RSS" shortLabel="Détail RSS" view="PMSI000006.XML">
                <ARG name="OID" value="ROW.OID"/>
            </VIEWLINK>
        </VIEWLINKS>
        <ONGLET label="EXH">
            <DATAGRID title="EXH" total="true" key="RSS" headerHeight="36" totalRowInRows="= ROW.OID == '-9999999'">
                <ROWSTYLE name="fontSize" value="11"/>
                <FOOTERROWSTYLE name="fontSize" value="11"/>
                <COLUMN dataField="OID" type="Char" visible="false">
                </COLUMN>
                <COLUMN dataField="FIN" width="60" type="Char" visible="true" headerText="Etablissement" textAlign="left" visibleCondition="ENV.CONSOLIDATION == '1'" otherFunction="text" totalFunction="text" totalComplement="">
                </COLUMN>
                <COLUMN dataField="RSS" width="60" type="Char" visible="true" headerText="N° RSS" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
                </COLUMN>
                <COLUMN dataField="SEJ" width="90" type="Char" visible="true" outputFormat="#" headerText="N° séjour" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="">
                </COLUMN>
                <COLUMN dataField="NOM" minWidth="100" type="Char" visible="true" headerText="Nom" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="*ROW">
                </COLUMN>
                <COLUMN dataField="SEX" width="40" type="Char" visible="true" headerText="Sexe" textAlign="right" otherFunction="text" totalFunction="text">
                    <CELLSTYLE name="cellIndicator" value="femme, 12,left middle , 0xEB76B1" condition="ROW.SEX == '2'" /> 
                    <CELLSTYLE name="cellIndicator" value="homme, 12,left middle , 0x75a0eb " condition="ROW.SEX == '1'" /> 
					<CELLSTYLE name="cellIndicator" value="rectangle, 10,left middle , #FF5001 " condition="ROW.SEX == '3'" /> 
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0x666666" condition="ROW.SEX != '2' &amp;&amp; ROW.SEX != '1' &amp;&amp; ROW.SEX != '3'" />
                </COLUMN>
                <COLUMN dataField="AGE" width="35" type="Number" outputFormat="#" visible="true" headerText="Age" textAlign="right" otherFunction="text" totalFunction="text">
                </COLUMN>
                <COLUMN dataField="DATE" width="60" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date sortie" textAlign="left" otherFunction="text" totalFunction="text">
                </COLUMN>
                <COLUMN dataField="NBJ" width="40" visible="true" type="Number" outputFormat="#" headerText="Durée sej" fixed="false" textAlign="right" totalFunction="sum" otherFunction="sum">
                </COLUMN>
                <COLUMN dataField="DP" width="45" type="Char"  fixed="false" visible="true" headerText="DP" textAlign="left" otherFunction="text" totalFunction="text">
                </COLUMN>
                <COLUMN dataField="GHM12" width="45" type="Char"  fixed="false" visible="true" headerText="FG 2023 GHM" textAlign="left" otherFunction="text" totalFunction="text">
                </COLUMN>
                <COLUMN dataField="GHS12" width="40" type="Char" visible="true" headerText="FG 2023 GHS" textAlign="left" otherFunction="text" totalFunction="text">
                </COLUMN>
                <COLUMN dataField="NEXH12" width="50" visible="true" type="Number" outputFormat="#" fixed="false" headerText="FG 2023 Nb" textAlign="right" otherFunction="sum" totalFunction="sum">
                </COLUMN>
                <COLUMN dataField="M12" width="80" visible="true" type="Number" outputFormat="#E" fixed="false" headerText="FG 2023 CA" textAlign="right" otherFunction="sum" totalFunction="sum">
                </COLUMN>
                <COLUMN dataField="GHM13" width="45" type="Char" visible="true" headerText="FG 2324 GHM" textAlign="left" otherFunction="text" totalFunction="text">
                    <HEADERCELLSTYLE name="color" value="0xff5001"/>
                    <CELLSTYLE name="color" value="0xff5001"/>
                </COLUMN>
                <COLUMN dataField="GHS13" width="40" type="Char" visible="true" headerText="FG 2324 GHS" textAlign="left" otherFunction="text" totalFunction="text">
                    <HEADERCELLSTYLE name="color" value="0xff5001"/>
                    <CELLSTYLE name="color" value="0xff5001"/>
                </COLUMN>
                <COLUMN dataField="NEXH13" width="50" visible="true" type="Number" outputFormat="#" fixed="false" headerText="FG 2324 Nb" textAlign="right" otherFunction="sum" totalFunction="sum">
                    <HEADERCELLSTYLE name="color" value="0xff5001"/>
                    <CELLSTYLE name="color" value="0xff5001"/>
                </COLUMN>
                <COLUMN dataField="M13" width="80" visible="true" type="Number" outputFormat="#E" fixed="false" headerText="FG 2324 CA" textAlign="right" otherFunction="sum" totalFunction="sum">
                    <HEADERCELLSTYLE name="color" value="0xff5001"/>
                    <CELLSTYLE name="color" value="0xff5001"/>
                </COLUMN>
                <COLUMN dataField="NEC" width="50" visible="true" type="Number" outputFormat="#" fixed="false" headerText="Ecart. Nb" textAlign="right" otherFunction="sum" totalFunction="sum">
                </COLUMN>
                <COLUMN dataField="MEC" width="80" visible="true" type="Number" outputFormat="#E" fixed="false" headerText="Ecart. CA" textAlign="right" otherFunction="sum" totalFunction="sum">
                </COLUMN>
            </DATAGRID>
        </ONGLET>
        <ONGLET label="EXB" queryNumber="1">
            <DATAGRID title="EXB" total="true" key="RSS" headerHeight="36" totalRowInRows="= ROW.OID == '-9999999'">
                <ROWSTYLE name="fontSize" value="11"/>
                <FOOTERROWSTYLE name="fontSize" value="11"/>
                <COLUMN dataField="OID" type="Char" visible="false">
                </COLUMN>
                <COLUMN dataField="FIN" width="60" type="Char" visible="true" headerText="Etablissement" textAlign="left" visibleCondition="ENV.CONSOLIDATION == '1'" otherFunction="text" totalFunction="text" totalComplement="">
                </COLUMN>
                <COLUMN dataField="RSS" width="60" type="Char" visible="true" headerText="N° RSS" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
                </COLUMN>
                <COLUMN dataField="SEJ" width="90" type="Char" visible="true" outputFormat="#" headerText="N° séjour" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="">
                </COLUMN>
                <COLUMN dataField="NOM" minWidth="100" type="Char" visible="true" headerText="Nom" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="*ROW">
                </COLUMN>
                <COLUMN dataField="SEX" width="40" type="Char" visible="true" headerText="Sexe" textAlign="right" otherFunction="text" totalFunction="text">
                    <CELLSTYLE name="cellIndicator" value="femme, 12,left middle , 0xEB76B1" condition="ROW.SEX == '2'" /> 
                    <CELLSTYLE name="cellIndicator" value="homme, 12,left middle , 0x75a0eb " condition="ROW.SEX == '1'" /> 
					<CELLSTYLE name="cellIndicator" value="rectangle, 10,left middle , #FF5001 " condition="ROW.SEX == '3'" /> 
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0x666666" condition="ROW.SEX != '2' &amp;&amp; ROW.SEX != '1' &amp;&amp; ROW.SEX != '3'" />
                </COLUMN>
                <COLUMN dataField="AGE" width="35" type="Number" outputFormat="#" visible="true" headerText="Age" textAlign="right" otherFunction="text" totalFunction="text">
                </COLUMN>
                <COLUMN dataField="DATE" width="60" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date sortie" textAlign="left" otherFunction="text" totalFunction="text">
                </COLUMN>
                <COLUMN dataField="NBJ" width="40" visible="true" type="Number" outputFormat="#" headerText="Durée sej" fixed="false" textAlign="right" totalFunction="sum" otherFunction="sum">
                </COLUMN>
                <COLUMN dataField="DP" width="45" type="Char"  fixed="false" visible="true" headerText="DP" textAlign="left" otherFunction="text" totalFunction="text">
                </COLUMN>
                <COLUMN dataField="GHM12" width="45" type="Char"  fixed="false" visible="true" headerText="FG 2023 GHM" textAlign="left" otherFunction="text" totalFunction="text">
                </COLUMN>
                <COLUMN dataField="GHS12" width="40" type="Char" visible="true" headerText="FG 2023 GHS" textAlign="left" otherFunction="text" totalFunction="text">
                </COLUMN>
                <COLUMN dataField="M12" width="80" visible="true" type="Number" outputFormat="#E" fixed="false" headerText="FG 2023 CA" textAlign="right" otherFunction="sum" totalFunction="sum">
                </COLUMN>
                <COLUMN dataField="GHM13" width="45" type="Char" visible="true" headerText="FG 2024 GHM" textAlign="left" otherFunction="text" totalFunction="text">
                    <HEADERCELLSTYLE name="color" value="0xff5001"/>
                    <CELLSTYLE name="color" value="0xff5001"/>
                </COLUMN>
                <COLUMN dataField="GHS13" width="40" type="Char" visible="true" headerText="FG 2024 GHS" textAlign="left" otherFunction="text" totalFunction="text">
                    <HEADERCELLSTYLE name="color" value="0xff5001"/>
                    <CELLSTYLE name="color" value="0xff5001"/>
                </COLUMN>
                <COLUMN dataField="M13" width="80" visible="true" type="Number" outputFormat="#E" fixed="false" headerText="FG 2024 CA" textAlign="right" otherFunction="sum" totalFunction="sum">
                    <HEADERCELLSTYLE name="color" value="0xff5001"/>
                    <CELLSTYLE name="color" value="0xff5001"/>
                </COLUMN>
                <COLUMN dataField="NEC" width="50" visible="true" type="Number" outputFormat="#" fixed="false" headerText="Ecart. Nb" textAlign="right" otherFunction="sum" totalFunction="sum">
                </COLUMN>
                <COLUMN dataField="MEC" width="80" visible="true" type="Number" outputFormat="#E" fixed="false" headerText="Ecart. CA" textAlign="right" otherFunction="sum" totalFunction="sum">
                </COLUMN>
            </DATAGRID>
        </ONGLET>
    </PRESENTATION>
</VUE>