confrontoErogazioneBuoniAddPrestazioneTile.jsp 2.04 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 63 64 65
<%@ include file="/project/include.jsp" %>

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

<j:form id="addPrestazioneForm" name="addPrestazioneName" event="confrontoErogazioneBuoniAddPrestazione" enctype="multipart/form-data" method="POST" clientValidatorProvider="it.cedaf.juice.mvc.modules.shell.view.helper.JavascriptClientValidatorProvider">
	<j:bind prop="day">
		<j:hidden id="day"/>
	</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;">
				Aggiunta di una prestazione per il giorno ${dto_day}
			</td>
		</tr>	
		<tr>
      		<td class="form-label">
    			Prestazione<span class="form-label-required">*</span>
    		</td>
    		<td class="form-values">
		    	<j:bind prop="gruppoPrestazione">
					<j:select class="form-input" id="idGruppoPrestazione" emptyOptionDescr="" />					
					<shell:error />
				</j:bind>
		   	</td>
		</tr>
		<tr>
      		<td class="form-label">
    			Quantit<span class="form-label-required">*</span>
    		</td>
    		<td class="form-values">
		    	<j:bind prop="quantita">
					<j:text class="form-short-text"/>					
					<shell:error />
				</j:bind>
		   	</td>
		</tr>
		<tr>
      		<td class="form-label">
    			Motivazione<span class="form-label-required">*</span>
    		</td>
    		<td class="form-values">
		    	<j:bind prop="note">
					<j:textarea class="form-long-textarea" style="width: 35em;"/>					
					<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="addPrestazione();"><img src="${j:getResourceUrlOfModule('shell', 'img/misc/confirm-small.gif')}" width="16" height="16" border="0" align="absmiddle">&nbsp;Aggiungi prestazione</button> 													
			</td>
		</tr>							
	</table>
</j:form>