<md-dialog aria-label="Gestione banche" style="height:450px;min-height:450px;width:420px" layout="column">
		<md-toolbar class="small-toolbar" layout="row">
		   <div class="md-toolbar-tools small-toolbar">
		     <h3>Cambio società ordinante</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-dialog-content style="min-height:300px">
		<ng-form name="form">
			<div class="md-dialog-content" layout="column">
				<md-input-container flex>
					<label>Dalla società</label>
					<input type="text" readonly="readonly" ng-model="ordinanteOriginale" >
				</md-input-container>
				<md-input-container flex>
					<label>Alla società</label>
					<md-select ng-model="res.ordinanteDestinazione">
						<md-option ng-value="0"></md-option>
						<md-option ng-repeat="ordinante in ordinanti" ng-value="ordinante.idordinante" ng-if="ordinante.ordinante!=ordinanteOriginale">{{ordinante.ordinante}}</md-option>
					</md-select>
				</md-input-container>
				<md-input-container flex>
					<label>Tipo cambio</label>
				</md-input-container>
				<md-input-container flex>
					<md-radio-group ng-model="res.tipoCambio" class="md-primary">
						<md-radio-button value="0" class="md-primary">Spostamento</md-radio-button>
      					<md-radio-button value="1">Duplicazione</md-radio-button>
					</md-select>
				</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>
