<?xml version="1.0" encoding="ISO-8859-15"?>
<VUE name="COMPTA000020" 
	label="Compta. Ventilation par liste" 
	title="= 'Ventilation par liste - ' + SELECT.CHAPITRE_LABEL" 
	database="iCTI" 
	swf="*CTI_view1" 
	softCode="iCTI_compta" 
	globals="COMPTA_globals.XML" 
	dboptimizer="COMPTA_dboptimizer.XML"
	componentsFile="COMPTA_components.XML" >
	
	<VIEWPROPERTIES>
		<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value"/>
		
		<PROPERTY name="QLISTEREF_SELECT" >
				<value><![CDATA[
						[EVAL 
						if ('[QLISTEREF]' == '1') {return "AND w_listes.oid IS NOT NULL";}
						if ('[QLISTEREF]' == '0') {return "AND w_listes.oid IS NULL";}
						return "";						
					EVAL]
				]]></value>
		</PROPERTY>
		
		<PROPERTY name="INCLUDE_CODE_SELECT" >
				<value><![CDATA[
						[EVAL 
							$codes = trim(str_replace("'","''",'[INCLUDE_CODE]'));
							if ($codes != "") {
								return "AND subview.code ILIKE ANY (string_to_array(trim(replace('$codes','*','%')),' '))";
							}
							return "";	
						return "";						
					EVAL]
				]]></value>
		</PROPERTY>
		
		<PROPERTY name="INCLUDE_TEXT_SELECT" >
				<value><![CDATA[
						[EVAL 
							$codes = trim(str_replace("'","''",'[INCLUDE_TEXT]'));
							if ($codes != "") {
								return "AND subview.texte ILIKE ANY (string_to_array(trim(replace('$codes','*','%')),' '))";
							}
							return "";	
						return "";						
					EVAL]
				]]></value>
		</PROPERTY>
		
		
	</VIEWPROPERTIES>
	
	<SELECTIONS 
		label="Paramètres de l'analyse" 
		displayText="= var display:String = '';

						if (SELECT.QLISTEREF == '0') {
							display = display + 'Eléments non référencés';
						}
						if (SELECT.QLISTEREF == '1') {
							display = display + 'Eléments référencés';
						}
						if (SELECT.INCLUDE_CODE != '') {
							display = display + ' Codes : ' + SELECT.INCLUDE_CODE;
						}
						if (SELECT.INCLUDE_TEXT != '') {
							display = display + ' Texte : ' + SELECT.INCLUDE_TEXT;
						}
						
						return display;
						">
		<GROUP>
			<FIELD name="CHAPITRE" label="Groupe de listes" UI="combo" tree="true" width="200" default="" >
				<OPTION dataLink="CHAPITRE" dataField="cod" labelField="txt"/>
			</FIELD>
			
		</GROUP>
		
			
	</SELECTIONS>
	
	<SELECTIONS label="Choix codes" displayText="">

		<GROUP label="">
			<FIELD name="QLISTEREF" label="Groupe de listes" UI="combo" tree="true" width="200" default="" >
				<OPTION label="Pas de sélection" data="-1" />
				<OPTION label="Eléments référencés" data="1" />
				<OPTION label="Eléments non référencés" data="0" />
			</FIELD>
		</GROUP>
		<GROUP label="Codes">
			<FIELD name="INCLUDE_CODE" label="" UI="textArea" width="550" height="30" default="" showIfNotDefault="true" />
		</GROUP>
		<GROUP label="Texte">
			<FIELD name="INCLUDE_TEXT" label="" UI="textArea" width="550" height="30" default="" showIfNotDefault="true" />
		</GROUP>
			
	</SELECTIONS>
	
	<QUERIES>
		<QUERY label="">

			<SQL>
				<select><![CDATA[

					DROP TABLE IF EXISTS w_elements;
					SELECT oid,
						base.cti_execute(
						'CREATE TEMP TABLE w_elements AS ' || select_cmd
						,1)
					FROM compta.t_listes_tables
					WHERE oid = split_part('[CHAPITRE]','|',1)::bigint;

					DROP SEQUENCE IF EXISTS w_listes_seq;
					CREATE TEMP SEQUENCE w_listes_seq;

					DROP TABLE IF EXISTS w_listes;
					CREATE TEMP TABLE w_listes AS
					SELECT nextval('w_listes_seq'::regclass) AS liste_col, subview.*
					FROM
						(
						SELECT t_listes.oid, t_listes.code, t_listes.texte
						FROM compta.t_listes
						JOIN compta.t_listes_tables ON t_listes.table_id = t_listes_tables.oid
						WHERE (t_listes.table_id || '|' || t_listes.chapitre) = '[CHAPITRE]' AND
							t_listes.oid IN (SELECT liste_id FROM compta.t_listes_contenu)
						ORDER BY t_listes.texte, t_listes.code
						) subview
					;
					
					CTISELECT_PROPERTY 'COLH' || liste_col::text, texte FROM w_listes 
					;

					SELECT subview.oid, subview.code, subview.texte,
						MAX(CASE WHEN w_listes.liste_col = 1 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 2 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 3 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 4 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 5 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 6 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 7 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 8 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 9 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 10 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 11 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 12 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 13 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 14 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 15 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 16 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 17 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 18 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 19 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 20 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 21 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 22 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 23 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 24 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 25 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 26 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 27 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 28 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 29 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 30 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 31 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 32 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 33 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 34 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 35 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 36 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 37 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 38 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 39 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 40 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 41 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 42 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 43 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 44 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 45 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 46 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 47 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 48 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 49 THEN 1 ELSE 0 END),
						MAX(CASE WHEN w_listes.liste_col = 50 THEN 1 ELSE 0 END)
					FROM 
					(
					SELECT * FROM w_elements
					) subview
					LEFT JOIN compta.t_listes_contenu ON subview.oid = t_listes_contenu.to_id
					LEFT JOIN w_listes ON t_listes_contenu.liste_id = w_listes.oid
					WHERE 1=1 
						[VIEW.QLISTEREF_SELECT]
						[VIEW.INCLUDE_CODE_SELECT]
						[VIEW.INCLUDE_TEXT_SELECT]
					GROUP BY 1,2,3
					ORDER BY 2
					;
					
					
						
				]]></select>
				<FIELDS>
					<FIELD name="OID"/>
					<FIELD name="COD"/>
					<FIELD name="TXT"/>
					<FIELD name="N1"/>
					<FIELD name="N2"/>
					<FIELD name="N3"/>
					<FIELD name="N4"/>
					<FIELD name="N5"/>
					<FIELD name="N6"/>
					<FIELD name="N7"/>
					<FIELD name="N8"/>
					<FIELD name="N9"/>
					<FIELD name="N10"/>
					<FIELD name="N11"/>
					<FIELD name="N12"/>
					<FIELD name="N13"/>
					<FIELD name="N14"/>
					<FIELD name="N15"/>
					<FIELD name="N16"/>
					<FIELD name="N17"/>
					<FIELD name="N18"/>
					<FIELD name="N19"/>
					<FIELD name="N20"/>
					<FIELD name="N21"/>
					<FIELD name="N22"/>
					<FIELD name="N23"/>
					<FIELD name="N24"/>
					<FIELD name="N25"/>
					<FIELD name="N26"/>
					<FIELD name="N27"/>
					<FIELD name="N28"/>
					<FIELD name="N29"/>
					<FIELD name="N30"/>
					<FIELD name="N31"/>
					<FIELD name="N32"/>
					<FIELD name="N33"/>
					<FIELD name="N34"/>
					<FIELD name="N35"/>
					<FIELD name="N36"/>
					<FIELD name="N37"/>
					<FIELD name="N38"/>
					<FIELD name="N39"/>
					<FIELD name="N40"/>
					<FIELD name="N41"/>
					<FIELD name="N42"/>
					<FIELD name="N43"/>
					<FIELD name="N44"/>
					<FIELD name="N45"/>
					<FIELD name="N46"/>
					<FIELD name="N47"/>
					<FIELD name="N48"/>
					<FIELD name="N49"/>
					<FIELD name="N50"/>
				</FIELDS>
			</SQL>
		</QUERY>
		
		
		<QUERY type="comboLink" name="CHAPITRE" forRows="false">
			<SQL> <select><![CDATA[	
				
						SELECT code,
							texte || ' (' || nb::text || ')',
							'1'
						FROM
						(
							SELECT
								t_listes.table_id || '|' || t_listes.chapitre AS code,
								t_listes_tables.texte || CASE WHEN t_listes.chapitre <> '' THEN '-' || t_listes.chapitre  ELSE '' END AS texte, count(*) AS nb
							FROM compta.t_listes
							JOIN compta.t_listes_tables ON t_listes.table_id = t_listes_tables.oid
							GROUP BY 1,2
						) subview
						ORDER BY 2
					
				]]></select>
				<FIELDS>
					<FIELD name="cod" />
					<FIELD name="txt" />
					<FIELD name="lvl" />
				</FIELDS>
			</SQL>
		</QUERY>
		
		
		
	</QUERIES>
	<PRESENTATION>
		<VIEWLINKS>
			
		</VIEWLINKS>
			
		<ONGLET excelLabel="Ventilation par liste" label="Ventilation par liste" multiTab="false">
			
			<DATAGRID title="" headerHeight="120" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'">
				<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid">
				</COLUMN>
				<COLUMN dataField="COD" width="90" type="Char" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
				</COLUMN>
				<COLUMN dataField="TXT" type="Char" minWidth="50" headerText="Texte" textAlign="left" totalFunction="text" otherFunction="text" otherComplement="*ROW">
				</COLUMN>
				
				<COLUMN dataField="N1" width="50" visibleCondition="VIEW.COLH1 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH1" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N1 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N1 == 1"/>
				</COLUMN>
				<COLUMN dataField="N2" width="50" visibleCondition="VIEW.COLH2 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH2" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N2 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N2 == 1"/>
				</COLUMN>
				<COLUMN dataField="N3" width="50" visibleCondition="VIEW.COLH3 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH3" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N3 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N3 == 1"/>
				</COLUMN>
				<COLUMN dataField="N4" width="50" visibleCondition="VIEW.COLH4 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH4" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N4 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N4 == 1"/>
				</COLUMN>
				<COLUMN dataField="N5" width="50" visibleCondition="VIEW.COLH5 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH5" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N5 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N5 == 1"/>
				</COLUMN>
				<COLUMN dataField="N6" width="50" visibleCondition="VIEW.COLH6 != null" type="Number" selectable="true" outputFormat="#" fixed="false" headerText="VIEW.COLH6" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N6 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N6 == 1"/>
				</COLUMN>
				<COLUMN dataField="N7" width="50" visibleCondition="VIEW.COLH7 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH7" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N7 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N7 == 1"/>
				</COLUMN>
				<COLUMN dataField="N8" width="50" visibleCondition="VIEW.COLH8 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH8" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N8 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N8 == 1"/>
				</COLUMN>
				<COLUMN dataField="N9" width="50" visibleCondition="VIEW.COLH9 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH9" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N9 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N9 == 1"/>
				</COLUMN>
				<COLUMN dataField="N10" width="50" visibleCondition="VIEW.COLH10 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH10" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N10 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N10 == 1"/>
				</COLUMN>
				<COLUMN dataField="N11" width="50" visibleCondition="VIEW.COLH11 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH11" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N11 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N11 == 1"/>
				</COLUMN>
				<COLUMN dataField="N12" width="50" visibleCondition="VIEW.COLH12 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH12" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N12 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N12 == 1"/>
				</COLUMN>
				<COLUMN dataField="N13" width="50" visibleCondition="VIEW.COLH13 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH13" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N13 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N13 == 1"/>
				</COLUMN>
				<COLUMN dataField="N14" width="50" visibleCondition="VIEW.COLH14 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH14" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N14 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N14 == 1"/>
				</COLUMN>
				<COLUMN dataField="N15" width="50" visibleCondition="VIEW.COLH15 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH15" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N15 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N15 == 1"/>
				</COLUMN>
				<COLUMN dataField="N16" width="50" visibleCondition="VIEW.COLH16 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH16" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N16 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N16 == 1"/>
				</COLUMN>
				<COLUMN dataField="N17" width="50" visibleCondition="VIEW.COLH17 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH17" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N17 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N17 == 1"/>
				</COLUMN>
				<COLUMN dataField="N18" width="50" visibleCondition="VIEW.COLH18 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH18" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N18 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N18 == 1"/>
				</COLUMN>
				<COLUMN dataField="N19" width="50" visibleCondition="VIEW.COLH19 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH19" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N19 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N19 == 1"/>
				</COLUMN>
				<COLUMN dataField="N20" width="50" visibleCondition="VIEW.COLH20 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH20" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N20 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N20 == 1"/>
				</COLUMN>
				<COLUMN dataField="N21" width="50" visibleCondition="VIEW.COLH21 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH21" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N21 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N21 == 1"/>
				</COLUMN>
				<COLUMN dataField="N22" width="50" visibleCondition="VIEW.COLH22 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH22" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N22 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N22 == 1"/>
				</COLUMN>
				<COLUMN dataField="N23" width="50" visibleCondition="VIEW.COLH23 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH23" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N23 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N23 == 1"/>
				</COLUMN>
				<COLUMN dataField="N24" width="50" visibleCondition="VIEW.COLH24 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH24" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N24 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N24 == 1"/>
				</COLUMN>
				<COLUMN dataField="N25" width="50" visibleCondition="VIEW.COLH25 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH25" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N25 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N25 == 1"/>
				</COLUMN>
				<COLUMN dataField="N26" width="50" visibleCondition="VIEW.COLH26 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH26" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N26 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N26 == 1"/>
				</COLUMN>
				<COLUMN dataField="N27" width="50" visibleCondition="VIEW.COLH27 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH27" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N27 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N27 == 1"/>
				</COLUMN>
				<COLUMN dataField="N28" width="50" visibleCondition="VIEW.COLH28 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH28" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N28 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N28 == 1"/>
				</COLUMN>
				<COLUMN dataField="N29" width="50" visibleCondition="VIEW.COLH29 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH29" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N29 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N29 == 1"/>
				</COLUMN>
				<COLUMN dataField="N30" width="50" visibleCondition="VIEW.COLH30 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH30" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N30 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N30 == 1"/>
				</COLUMN>
				<COLUMN dataField="N31" width="50" visibleCondition="VIEW.COLH31 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH31" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N31 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N31 == 1"/>
				</COLUMN>
				<COLUMN dataField="N32" width="50" visibleCondition="VIEW.COLH32 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH32" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N32 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N32 == 1"/>
				</COLUMN>
				<COLUMN dataField="N33" width="50" visibleCondition="VIEW.COLH33 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH33" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N33 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N33 == 1"/>
				</COLUMN>
				<COLUMN dataField="N34" width="50" visibleCondition="VIEW.COLH34 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH34" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N34 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N34 == 1"/>
				</COLUMN>
				<COLUMN dataField="N35" width="50" visibleCondition="VIEW.COLH35 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH35" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N35 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N35 == 1"/>
				</COLUMN>
				<COLUMN dataField="N36" width="50" visibleCondition="VIEW.COLH36 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH36" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N36 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N36 == 1"/>
				</COLUMN>
				<COLUMN dataField="N37" width="50" visibleCondition="VIEW.COLH37 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH37" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N37 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N37 == 1"/>
				</COLUMN>
				<COLUMN dataField="N38" width="50" visibleCondition="VIEW.COLH38 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH38" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N38 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N38 == 1"/>
				</COLUMN>
				<COLUMN dataField="N39" width="50" visibleCondition="VIEW.COLH39 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH39" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N39 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N39 == 1"/>
				</COLUMN>
				<COLUMN dataField="N40" width="50" visibleCondition="VIEW.COLH40 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH40" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N40 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N40 == 1"/>
				</COLUMN>
				<COLUMN dataField="N41" width="50" visibleCondition="VIEW.COLH41 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH41" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N41 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N41 == 1"/>
				</COLUMN>
				<COLUMN dataField="N42" width="50" visibleCondition="VIEW.COLH42 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH42" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N42 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N42 == 1"/>
				</COLUMN>
				<COLUMN dataField="N43" width="50" visibleCondition="VIEW.COLH43 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH43" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N43 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N43 == 1"/>
				</COLUMN>
				<COLUMN dataField="N44" width="50" visibleCondition="VIEW.COLH44 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH44" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N44 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N44 == 1"/>
				</COLUMN>
				<COLUMN dataField="N45" width="50" visibleCondition="VIEW.COLH45 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH45" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N45 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N45 == 1"/>
				</COLUMN>
				<COLUMN dataField="N46" width="50" visibleCondition="VIEW.COLH46 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH46" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N46 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N46 == 1"/>
				</COLUMN>
				<COLUMN dataField="N47" width="50" visibleCondition="VIEW.COLH47 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH47" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N47 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N47 == 1"/>
				</COLUMN>
				<COLUMN dataField="N48" width="50" visibleCondition="VIEW.COLH48 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH48" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N48 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N48 == 1"/>
				</COLUMN>
				<COLUMN dataField="N49" width="50" visibleCondition="VIEW.COLH49 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH49" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N49 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N49 == 1"/>
				</COLUMN>
				<COLUMN dataField="N50" width="50" visibleCondition="VIEW.COLH50 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH50" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					<CELLSTYLE name="color" value="0x656565" condition="ROW.N50 == 1"/>
					<CELLSTYLE name="backgroundColor" value="0x656565" condition="ROW.N50 == 1"/>
				</COLUMN>
			</DATAGRID>
		</ONGLET>
	</PRESENTATION>
</VUE>
