@extends('layout.base')

@section('content')
<div class="page-heading">
  <h3>Pagar Subsidio - {{$venta->proyecto()->descripcion}} - {{$venta->unidad()->descripcion}} - {{ucwords(get('tipo'))}}</h3>
</div>
<br />
<form class="form-horizontal" method="post" action="{{nUrl('subsidios', 'do_pagar', ['venta' => $venta->id])}}">
  <input type="hidden" name="tipo" value="{{get('tipo')}}" />
  <div class="form-group">
    <div class="col-md-2">Fecha</div>
    <?php $f = \Carbon\Carbon::parse($pago->fecha, config('app.timezone')); ?>
    @include('form.fecha')
  </div>
  <div class="form-group">
    <div class="col-md-2">Valor</div>
    <div class="col-md-3"><input type="text" name="valor" class="form-control" value="{{$pago->valor}}" /></div>
  </div>
  <div class="form-group">
    <div class="col-md-offset-2 col-md-2"><button class="form-control" type="submit">Pagar</button></div>
  </div>
</form>
@endsection
