quadroRiassuntivoAttivita.jsp 2.15 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
<%@ include file="/project/include.jsp" %>
<%@page import="it.cedaf.icare.business.managers.quadririassuntivi.CustomInfo"%>
<%@page import="it.cedaf.icare.quadririassuntivi.view.dto.CustomItem"%>
<%@page import="it.cedaf.commons.DateLib"%>
<%@page import="it.cedaf.commons.StringLib"%>

<script type="text/javascript">
	function openAttivitaDataManagement(idSoggetto) {
		buiOpenNewDataManagementAsHiddenChild('attivita.attivita', '&init=it.cedaf.icare.attivita.etc.AttivitaDataManagementInitializer&parentKey=' 
				+ '&parentKey=' + bui_datamanagement.getKey()
				+ '&idSoggetto=' + idSoggetto);
	}
</script>

<%
	CustomItem item = (CustomItem) request.getAttribute("currentItem");
	CustomInfo info = item.getCustomInfo();
	
	String responsabile = info.getOperatoreResponsabile();
	String emailAddress = info.getMailOperatoreResponsabile();
	if (!StringLib.isNullOrEmptyString(emailAddress)) {
		responsabile = "<a href='mailto:" + emailAddress + "'>" + responsabile + "</a>";
	}
%>


<td width="50%">
	<table>
		<tr>
			<td class="gantt-detail-label"><shell:label prop="data" /></td>
			<td class="gantt-detail-value"><%=DateLib.format(item.getFrom())%></td>	
		</tr>
		<tr>
			<td class="gantt-detail-label"><shell:label prop="oraInizio" /></td>
			<td class="gantt-detail-value"><%=info.getProperty("oraInizio")%></td>	
		</tr>
		<tr>
			<td class="gantt-detail-label"><shell:label prop="oraFine" /></td>
			<td class="gantt-detail-value"><%=info.getProperty("oraFine")%></td>	
		</tr>
		<tr>
			<td class="gantt-detail-label"><shell:label prop="operatoreResponsabile" /></td>
			<td class="gantt-detail-value"><%=responsabile%></td>	
		</tr>
	</table>
</td>
<td width="50%">
	<table>
		<tr>
			<td class="gantt-detail-label"><shell:label prop="tipoAttivita" /></td>
			<td class="gantt-detail-value"><%=info.getProperty("tipoAttivita")%></td>	
		</tr>
		<tr>
			<td class="gantt-detail-label"><shell:label prop="descrizione" /></td>
			<td class="gantt-detail-value"><%=info.getProperty("descrizione")%></td>	
		</tr>
		<tr>
			<td class="gantt-detail-label"><shell:label prop="erogata" /></td>
			<td class="gantt-detail-value"><%=info.getProperty("erogata")%></td>
		</tr>
	</table>
</td>