<md-dialog aria-label="Selezione conto corrente" style="height:470px;min-height:470px;width:520px" layout="column">
		<md-toolbar class="small-toolbar" layout="row">
		   <div class="md-toolbar-tools small-toolbar">
		     <h3>Tipologia</h3>
		     <span flex></span>
		     <md-icon ng-click="cancelDialog()" md-font-icon="fa-times" class="fa button-icon" style="color:white">
					<md-tooltip>Chiudi</md-tooltip>
			 </md-icon>
		   </div>
		 </md-toolbar>

<!-- 	<md-content layout="column" style="padding-left:14px;padding-right:14px;min-height:750px" flex> -->
	<md-dialog-content style="min-height:380px">
		<ng-form name="form">
			<div class="md-dialog-content" layout="column" style="height:100%">
				<md-input-container flex>
					<label>Tipologia</label>
					<input type="text" maxlength="10" ng-model="descrizione" readonly="readonly">
				</md-input-container>
				<md-input-container flex>
					<label>Modalit&agrave; generazione flusso</label>
					<md-select ng-model="tipologia.migeneraFlusso">
						<md-option ng-value="false">{{migeneraFlussoTrue}}</md-option>
						<md-option ng-value="true">{{migeneraFlussoFalse}}</md-option>
					</md-select>
				</md-input-container>
				<md-input-container flex ng-if = "tipologia.tipologia != 'SCT_INPS'">
					<label>Forzatura tipo sequenza SDD</label>
					<md-select ng-model="tipologia.overrideTipoSequenzaRid">
						<md-option ng-value=""></md-option>
						<md-option ng-value="'FRST'">FRST</md-option>
						<md-option ng-value="'RCUR'">RCUR</md-option>
						<md-option ng-value="'FNAL'">FNAL</md-option>
						<md-option ng-value="'OOFF'">OOFF</md-option>
					</md-select>
				</md-input-container>
				<md-input-container flex ng-if = "tipologia.tipologia != 'SCT_INPS'">
					<label>Forzatura richiesta esito SCT</label>
					<md-select ng-model="tipologia.overrideRichiestaEsitoSct">
						<md-option ng-value=""></md-option>
						<md-option ng-value="3">Eseguito e stornato</md-option>
					</md-select>
				</md-input-container>
				<md-input-container flex ng-if="tipologia.tipologia === 'SCT_INPS'">
					<label>N. giorni generazione flusso automatica</label>
					<input type="number" min-value="1" ng-model="tipologia.numGiorniGenFlusso">
				</md-input-container>
				<md-input-container flex ng-if="tipologia.tipologia === 'SCT_INPS'">
					<md-checkbox id="soloGiorniLavorativi" name="soloGiorniLavorativi" ng-model="tipologia.soloGiorniLavorativi">
					Solo giorni lavorativi
					</md-checkbox>
				</md-input-container>
				<md-input-container flex ng-if="tipologia.tipologia === 'SCT_INPS'">
					<label>Ora generazione flusso automatica</label>
					<input type="text" id="oraGenerazioneFlusso" ng-model="oraGen" pattern="([01]?[0-9]|2[0-3]):[0-5][0-9]" maxlength="5"/>
				</md-input-container>
	      	</div>
      	</ng-form>			
	</md-dialog-content>
	
	<md-dialog-actions layout="row" >
		<span flex></span>
   		<md-button type="submit" ng-click="confirmDialog()" aria-label="Chiudi" class="md-raised md-primary" title="Conferma" >
	       	<md-icon md-font-icon="fa-check" class="fa" aria-label="Conferma"></md-icon>
    	    Conferma
      	</md-button>
   		<md-button type="submit" ng-click="cancelDialog()" aria-label="Chiudi" class="md-raised md-warn" title="Annulla" >
	       	<md-icon md-font-icon="fa-check" class="fa" aria-label="Annulla"></md-icon>
    	    Annulla
      	</md-button>
 	</md-dialog-actions>		
  			
</md-dialog>
