<md-dialog aria-label="{{dialogTitle}}" style="height:560px;width:720px" layout-padding>
		<md-toolbar class="small-toolbar">
		   <div class="md-toolbar-tools">
		     <h3>{{dialogTitle}}</h3>
		     <span flex></span>
		     <md-icon ng-click="confirmDialog()" md-font-icon="fa-times" class="fa" aria-label="Chiudi" title="Chiudi"></md-icon>
		   </div>
		 </md-toolbar>
	<md-dialog-content>
	
		<form ng-submit="confirmDialog()" style="height:100%" flex layout-align="start start" layout-padding>
	
			<div layout-gt-md="row" layout="column" flex="100">
				<md-input-container flex-gt-sm="10" flex="100" disable-all="true">
					<label>Iter #</label>
					<input type="text" ng-model="istruzione.rowNumber"  ng-keypress="checkInteger($event,3)">
				</md-input-container>
				<md-input-container flex="100" flex-gt-sm="30">
					<label>Tipologia</label>
					<md-select ng-model="istruzione.tipologia">  
						<md-option value="SCT">SCT</md-option>
						<md-option value="SDD">SDD</md-option>
						<md-option value="SDD_ESTERI">SDD_ESTERI</md-option>
						<md-option value="SEDA">SEDA</md-option>
						<md-option value="DOM">DOM</md-option>
						<md-option value="SCT_INT">SCT_INT</md-option>
						<md-option value="SCT_INPS">SCT_INPS</md-option>
						<md-option value="SCT_ESTERI">SCT_ESTERI</md-option>
						<md-option value="ASSEGNI_INTESA">ASSEGNI_INTESA</md-option>
						
					</md-select>
				</md-input-container>
				<md-input-container flex="100" flex-gt-sm="30">
					<label>Tipo disposizione sinistri</label>
					<md-select ng-model="istruzione.tipoDisposizione">  
						<md-option value=""></md-option>
						<md-option value="BON">Bonifici Bancari</md-option>
						<md-option value="CIR">Assegni circolari</md-option>
						<md-option value="CIT">Assegni circolari trasf.</md-option>
						<md-option value="ATR">Assegni di traenza</md-option>
						<md-option value="DOM">Bonifici domiciliati</md-option>
						<md-option value="VID">Assegni vidimati</md-option>
						<md-option value="VIT">Assegni vidimati trasf.</md-option>
						<md-option value="CAS">Assegni per cassa</md-option>
					</md-select>
				</md-input-container>
				<md-input-container flex="100" flex-gt-sm="30">
					<label>Provenienza</label>
					<md-select ng-model="istruzione.provenienza">  
						<md-option value=""></md-option>
						<md-option value="Findomest">Findomest</md-option>
						<md-option value="Manuale">Manuale</md-option>
					</md-select>
				</md-input-container>
			</div>
			<div layout-gt-md="row" layout="column" flex>
				<md-input-container flex="100" flex-gt-sm="25">
					<label>Funzione ordinante</label>
					<md-select ng-model="istruzione.funzioneOrdinante">  
						<md-option></md-option>
						<md-option ng-repeat="item in funzioniOrdinanti" value="{{item.funzioneOrdinante}}">{{item.funzioneOrdinante}}</md-option>
					</md-select>
				</md-input-container>
				<md-input-container flex="100" flex-gt-sm="25">
					<label>Operatore</label>
					<md-select ng-model="istruzione.signRangeImportoDa">
						<md-option value=""></md-option>  
						<md-option value=">">></md-option>
						<md-option value=">=">>=</md-option>
						<md-option value="<"><</md-option>
						<md-option value="<="><=</md-option>
					</md-select>
				</md-input-container flex="100" flex-gt-sm="25">
				<md-input-container  flex="100" flex-gt-sm="25">
					<label>Range importo disposizione</label>
					<input type="text" ng-model="rangeImportoDa" ng-blur="checkImporto($event)" ng-keypress="checkDigit($event,20)">
				</md-input-container>
				<md-input-container flex="100" flex-gt-sm="25">
					<label>Operatore</label>
					<md-select ng-model="istruzione.signRangeImportoA" >  
						<md-option value=""></md-option>
						<md-option value="<"><</md-option>
						<md-option value="<="><=</md-option>
					</md-select>
				</md-input-container flex="100" flex-gt-sm="25">
				<md-input-container flex="20">
					<label>Range importo disposizione</label>
					<input type="text" ng-model="rangeImportoA" ng-blur="checkImporto($event)" ng-keypress="checkDigit($event,20)">
				</md-input-container>
			</div>
			<div layout-gt-md="row" layout="column" flex>
				<md-input-container flex="50">
					<label>Importo limite distinta</label>
					<input type="text" ng-model="importoLimiteDistinta"  ng-blur="checkImporto($event)" ng-keypress="checkDigit($event,20)">
				</md-input-container>
				<md-input-container flex="50">
					<label>Max disposizioni per distinta</label>
					<input type="text" ng-model="istruzione.maxNumberDisposizioni" ng-keypress="checkInteger($event,3)">
				</md-input-container>
			</div>
			<div layout-gt-md="row" layout="column" flex>
				<md-input-container flex="100" flex-gt-sm="25">
					<label>Assegna conto step 1</label>
					<md-select ng-model="istruzione.searchBancaOrdinanteStep1">  
						<md-option value="1">IBAN</md-option>
						<md-option value="2">Provincia</md-option>
						<md-option value="3">Funzione</md-option>
						<md-option value="4">Default 1</md-option>
						<md-option value="5">Default 2</md-option>
						<md-option value="6">Default 1/2</md-option>
					</md-select>
				</md-input-container>
				<md-input-container flex="100" flex-gt-sm="25">	<label>Assegna conto step 2</label>
					<md-select ng-model="istruzione.searchBancaOrdinanteStep2">  
						<md-option value="1">IBAN</md-option>
						<md-option value="2">Provincia</md-option>
						<md-option value="3">Funzione</md-option>
						<md-option value="4">Default 1</md-option>
						<md-option value="5">Default 2</md-option>
						<md-option value="6">Default 1/2</md-option>
					</md-select>
				</md-input-container>
				<md-input-container flex="100" flex-gt-sm="25">
					<label>Assegna conto step 3</label>
					<md-select ng-model="istruzione.searchBancaOrdinanteStep3">  
						<md-option value="1">IBAN</md-option>
						<md-option value="2">Provincia</md-option>
						<md-option value="3">Funzione</md-option>
						<md-option value="4">Default 1</md-option>
						<md-option value="5">Default 2</md-option>
						<md-option value="6">Default 1/2</md-option>
					</md-select>
				</md-input-container>
				<md-input-container flex="100" flex-gt-sm="25">
					<label>Assegna conto step 4</label>
					<md-select ng-model="istruzione.searchBancaOrdinanteStep4">  
						<md-option value="1">IBAN</md-option>
						<md-option value="2">Provincia</md-option>
						<md-option value="3">Funzione</md-option>
						<md-option value="4">Default 1</md-option>
						<md-option value="5">Default 2</md-option>
						<md-option value="6">Default 1/2</md-option>
					</md-select>
				</md-input-container>
			</div>
		</form>
	</md-dialog-content>
		
	<md-dialog-actions layout="row">
			<span flex></span>
      		<md-button type="submit" ng-click="confirmDialog()" aria-label="Ok" class="md-raised md-primary" title="Conferma la selezione" >
           <md-icon md-font-icon="fa-check" class="fa" aria-label="Ok"></md-icon>
           Ok
         </md-button>
      		<md-button type="button" aria-label="Annulla" class="md-raised md-warn" ng-click="cancelDialog()" title="Annulla">
            <md-icon md-font-icon="fa-times" class="fa" aria-label="Annulla" ></md-icon>
            Annulla
         	</md-button>
   	</md-dialog-actions>			
	
	</form>
</md-dialog>
