<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="SP000001"
	label="Chiffrier [DICT.RH.SALARIE#3] Octime/Sage" 
	title="Chiffrier [DICT.RH.SALARIE#3] Octime/Sage" 
	database="iCTI" 
	swf="*CTI_view1" 
	enabled="= ENV.OPTRH_PLANNING == '1'"
	disabledMessage="Le planning du personnel nécessite une visite de validation de CTI Santé pour démarrer cette fonctionnalité."
	softCode="iCTI_rh">
	<QUERIES>
		<QUERY label=""> 
			<SQL select="
				select pers.pers_pre || ' ' || pers.pers_nom, pers.pers_mat, p_salaries.matricule
				from prod_octime.pers
				left join rh.p_salaries ON p_salaries.matricule = pers.pers_mat
				order by 2
				"
				 >
				<FIELDS>
					<FIELD name="NAME" />
					<FIELD name="NB_P" />
					<FIELD name="NB_V" />
				</FIELDS>
			</SQL>
		</QUERY> 
	</QUERIES>
	<PRESENTATION>
		<ONGLET>
			<DATAGRID title="" total="false" sortable="true" headerHeight="40" >
				<ROWSTYLE name="fontSize" value="12" />
				<COLUMN dataField="NAME"
					minWidth="100"
					type="Char"
					visible="true"
					headerText="Nom Octime" 
					textAlign="left">
				</COLUMN>
				<COLUMN dataField="NB_P"
					minWidth="100"
					type="Char"
					visible="true"
					headerText="Matricule Octime" 
					textAlign="left">
				</COLUMN>
				<COLUMN dataField="NB_V"
					minWidth="100"
					type="Char"
					visible="true"
					headerText="Matricule Paye" 
					textAlign="left">
					<CELLSTYLE name="cellIndicator" value="circle, 5, left top, 0xFF0000" 
							condition="ROW.NB_V != ROW.NB_P" />
				</COLUMN>
			</DATAGRID>
		</ONGLET>
	</PRESENTATION>
</VUE>
