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

<script type="text/javascript">
	function emissioneBuono() {
		var form = document.getElementById('emissioneBuonoForm');
		juiceSubmitForm(form, -1);
	}
</script>

<j:form id="emissioneBuonoForm" name="emissioneBuonoAttivazione" event="emissioneBuono" enctype="multipart/form-data" method="POST" clientValidatorProvider="it.cedaf.juice.mvc.modules.shell.view.helper.JavascriptClientValidatorProvider">
	<j:bind prop="selectedRow">
		<j:hidden id="selectedRow"/>
	</j:bind>
	<j:bind prop="dmKey">
		<j:hidden id="dmKey"/>
	</j:bind>
	
	<br>
	<table border="0" cellpadding="0" cellspacing="3" width="100%">
		<tr>
			<td colspan="2" class="generic-label" style="padding: 4px 4px 15px 4px;">Si sta procedendo all'emissione del buono. Indicare la data di emissione:</td>
		</tr>	
		<tr>
      		<td class="form-label">
    			Data Emissione<span class="form-label-required">�*</span>
    		</td>
    		<td class="form-values">
		    	<j:bind prop="dataEmissione">
					<j:text class="form-date" id="dataInizioCld"/>
					<shell:calendar inputId="dataInizioCld" />
					<shell:error />
				</j:bind>
		   	</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td style="padding: 15px 4px 5px 4px;">
				<button class="generic-button ui-state-default ui-corner-all" onclick="emissioneBuono();"><img src="${j:getResourceUrlOfModule('shell', 'img/misc/confirm-small.gif')}" width="16" height="16" border="0" align="absmiddle">&nbsp;Conferma</button> 													
			</td>
		</tr>							
	</table>
</j:form>