<div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Actualizar cambio</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
	        <div class="response-data">
				
			</div>
			<form action="{{ url('tcambio/'.$data['tcambio']->id) }}" id="updateform" onsubmit="updatingform(this); return false">
				<input type="hidden" name="action" value="form">
				<div class="row"> 
					<div class="col-4">
						<label for="fecha"><b>Fecha:</b></label>
						<input type="text" class="form-control"  id="input-cont" name="fecha" placeholder="fecha" required="" value="{{ $data['tcambio']->fecha }}">
					</div>
					<div class="col-4">
						<label for="venta"><b>Venta:</b></label>
						<input type="text" class="form-control"  id="input-cont" name="venta" placeholder="Venta" required="" value="{{ $data['tcambio']->venta }}">
					</div>
					<div class="col-4">
						<label for="compra"><b>Compra:</b></label>

						<input type="text" class="form-control"  id="input-cont" name="compra" placeholder="Compra" required="" value="{{ $data['tcambio']->compra }}">
					</div>					
				</div>
				<hr>
				<div class="row">
					<div class="col-3">
						<label for="imp"><b>Importe Venta:</b></label>
						<input type="text" class="form-control" id="input-cont" name="imp_g_ventas" placeholder="Importe de venta" required="" value="{{ $data['tcambio']->imp_g_ventas }}">
					</div>
					<div class="col-3">
						<label for="imp"><b>Importe Consumo:</b></label>

						<input type="text" class="form-control" id="input-cont" name="imp_s_consumo" placeholder="Importe de consumo" required="" value="{{ $data['tcambio']->imp_s_consumo }}">
					</div>
					<div class="col-3">
						<label for="imp"><b>Importe Hotelero:</b></label>
						<input type="text" class="form-control" id="input-cont" name="imp_hotelero" placeholder="Importe hotelero" required="" value="{{ $data['tcambio']->imp_hotelero }}">
					</div>
					<div class="col-3">
						<label for="imp"><b>Renta:</b></label>

						<input type="text" class="form-control" id="input-cont" name="renta" placeholder="renta" required="" value="{{ $data['tcambio']->renta }}">
					</div>
				</div>
				<hr>
				<div class="row justify-content-center">
					<div class="col-4 text-right">
						<br>
						<button class="btn btn-primary" > <i class="icon-rotate-cw2 "></i> Actualizar</button>
					</div>
				</div>
			</form>

      </div>

    </div>
  </div>
</div>