<md-dialog aria-label="Ricerca disposizioni" style="height:500px;width:300px" layout="column">
		<md-toolbar class="small-toolbar">
		   <div class="md-toolbar-tools">
		     <h3>Ricerca disposizioni</h3>
		     <span flex></span>
		   </div>
		 </md-toolbar>

	<md-content class="sticky-container" layout="column" style="padding:14px" flex>
		<form name="form" ng-submit="confirmDialog()" layout="column" flex>
			<md-input-container flex>
            	<label>Desitnatario</label>
			    <input ng-model="filter.destinatario" md-autofocus>
	        </md-input-container>
			<md-input-container flex>
            	<label>Importo disposizione</label>
            	<input ng-model="filter.importo" ng-keypress="checkDigit($event,20)" ng-blur="checkImporto($event)">
	        </md-input-container>
			<md-input-container flex>
            	<label>ID funzione ordinante</label>
			    <input ng-model="filter.idFunzioneOrdinante" >
	        </md-input-container>
			<md-input-container flex ng-cloak class="md-input-has-value">
	            <label>Stato disposizione</label>
	        	<md-select ng-model="filter.statoDisposizioni">
	            	<md-option value=""></md-option>
	            	<md-option value="Inserita">Inserita</md-option>
	            	<md-option value="Approvata">Approvata</md-option>
	            	<md-option value="Confermata">Confermata</md-option>
	            	<md-option value="Predisposta">Predisposta</md-option>
	            	<md-option value="Validata">Validata</md-option>
	            	<md-option value="Disposta">Disposta</md-option>
	            	<md-option value="Inviata">Inviata</md-option>
	            	<md-option value="Esitata">Esitata</md-option>
	            	<md-option value="Scartata">Scartata</md-option>
	            	<md-option value="Archiviata">Archiviata</md-option>
	            	<md-option value="Cancellata">Cancellata</md-option>
	        	</md-select>
        	</md-input-container>	
        	<md-input-container flex class="md-input-has-value">
	            <label>Stato convalida</label>
	        	<md-select ng-model="filter.statoConvalida">
	            	<md-option value=""></md-option>
	            	<md-option value="-1">Disposizioni valide</md-option>
	            	<md-option value="0">Disposizioni errate</md-option>
	            	<md-option value="2">Disposizioni warning</md-option>
	        	</md-select>
        	</md-input-container>
        	<md-input-container flex class="md-input-has-value">
	            <label>Disposizioni in errore</label>
	            <md-checkbox ng-model="filter.inErrore"></md-checkbox>
            </md-input-container>
        	
        	
        	<md-dialog-actions layout="row">
        		<md-button type="submit" aria-label="Ricerca" class="md-raised md-primary" title="Esegui la ricerca" >
	            <md-icon md-font-icon="fa-search" class="fa" aria-label="Ricerca"></md-icon>
	            Ricerca
	          </md-button>
        		<md-button type="button" aria-label="Annulla" class="md-raised md-warn" ng-click="cancelDialog()" title="Annulla la ricerca">
		            <md-icon md-font-icon="fa-times" class="fa" aria-label="Annulla" ></md-icon>
		            Annulla
	          	</md-button>
        	</md-dialog-actions>	
		</form>
	</md-content>
</md-dialog>
