<form name="f" method="POST" action="<?php echo BASEURL;?>/viaje/realizarcobro" class="form-horizontal">
	<input type="hidden" name="contrato" value="<?php echo $this->contrato;?>" />
	<input type="hidden" name="vuelta" value="<?php echo $this->idavuelta; ?>" />
	<input type="hidden" name="cliente" value="<?php echo $this->cliente; ?>" />
	
	<div class="form-group">
		<label class="control-label col-xs-4" rel="#formaPago">Forma de pago</label>
		<div class="col-xs-8">
			<div class="input-group">
				<select name="formaPago" class="form-control">
					<option value="<?php echo Cobro::COBRO_FORMA_PAGO_EFECTIVO?>">Efectivo</option>
					<option value="<?php echo Cobro::COBRO_FORMA_PAGO_CHEQUE?>">Cheque</option>
				</select>
			</div>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-4" rel="#personaPrecio">PERSONAS Precio</label>
		<div class="col-xs-8">
			<div class="input-group">
				<input type="text" name="personaPrecio" id="personaPrecio" readonly="readonly" value="<?php echo $this->personasImporte; ?>" class="form-control">
			</div>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-4" rel="#personaPagado">Pagado</label>
		<div class="col-xs-8">
			<div class="input-group">
				<input type="text" name="personaPagado" id="personaPagado" readonly="readonly" value="<?php echo $this->personasPagado; ?>" class="form-control">
			</div>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-4" rel="#personasImporte">¿Cuánto va a pagar?</label>
		<div class="col-xs-8">
			<div class="input-group">
				<input type="text" name="personasImporte" id="personasImporte" value="<?php echo $this->personasImporte - $this->personasPagado; ?>" class="form-control">
			</div>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-4" rel="#paquetesPrecio">PAQUETES Precio</label>
		<div class="col-xs-8">
			<div class="input-group">
				<input type="text" name="paquetesPrecio" id="paquetesPrecio" readonly="readonly" value="<?php echo $this->paquetesImporte; ?>" class="form-control">
			</div>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-4" rel="#paquetesPagado">Pagado</label>
		<div class="col-xs-8">
			<div class="input-group">
				<input type="text" name="paquetesPagado" id="paquetesPagado" readonly="readonly" value="<?php echo $this->paquetesPagado; ?>" class="form-control">
			</div>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-4" rel="#paqueteImporte">¿Cuánto va a pagar?</label>
		<div class="col-xs-8">
			<div class="input-group">
				<input type="text" name="paquetesImporte" id="paquetesImporte" value="<?php echo $this->paquetesImporte - $this->paquetesPagado; ?>" class="form-control">
			</div>
		</div>
	</div>
	
	
	<div class="form-group control-submit">
		<div class="col-sm-offset-4 col-sm-8">
			<input name="guardar" id="guardar" value="Pagar" class="btn btn-default btn-primary" type="submit">
		</div>
	</div>
</form>