<%@ include file="/project/include.jsp" %>

<icare:ifOptional prop="Buono Attivazione [f]">
<shell:fieldset title="Buono">
	<table align="center" width="100%">
		<tr>
			<td width="50%" valign="top">
				<table>
					<tr>
						<td class="form-label">
							<shell:label prop="durataIntervento" />
						</td>
						<td class="form-values">
							<c:choose>
								<c:when test="${bui:isMode(null, 'record_created')}">
									<j:bind prop="durataIntervento">
										<j:text class="form-short-text" />
										<shell:error />
									</j:bind>
								</c:when>
								<c:otherwise>
									<j:tile name="shell.plaintext" prop="durataIntervento" />
								</c:otherwise>
							</c:choose>
						</td>										
			 		</tr>
					<tr>
						<td class="form-label">
							<shell:label prop="icaroCodeBuono" />
						</td>
						<td class="form-values">
							<j:tile name="shell.plaintext" prop="icaroCodeBuono" />
						</td>										
			 		</tr>
					<tr>
						<td class="form-label">
							<shell:label prop="dataEmissioneBuono" />
						</td>
						<td class="form-values">
							<j:tile name="shell.plaintext" prop="dataEmissioneBuono" />
						</td>										
			 		</tr>
			 		<tr>
						<td class="form-label">
							<shell:label prop="dataScadenzaBuono" />
						</td>
						<td class="form-values">
							<j:tile name="shell.plaintext" prop="dataScadenzaBuono" />
						</td>										
			 		</tr>
			 	</table>
			</td>
			<td width="50%" valign="top">
				<table>
					<tr>
						<td class="form-label">
							<shell:label prop="dataAttivazioneBuono" />
						</td>
						<td class="form-values">
							<j:tile name="shell.plaintext" prop="dataAttivazioneBuono" />
						</td>										
			 		</tr>
			 		<tr>
			 			<td colspan="2">
			 				<icare:customControl identifier="buono_attivazione_ext" />
			 			</td>
			 		</tr>
				</table>
			</td>
		</tr>
	</table>
</shell:fieldset>
</icare:ifOptional>