@extends('layout.base')

@section('content')
<div class="row page-heading">
  <div class="col-md-12 h3">{{$venta->proyecto()->descripcion}} - {{$venta->unidad()->descripcion}}</div>
</div>
<br />
<form class="form-horizontal" method="post" action="{{nUrl('comentarios', 'agregar', ['venta' => $venta->id])}}">
  <div class="row">
    <div class="col-md-2">Fecha</div>
    <div class="col-md-4">{{\Carbon\Carbon::now(config('app.timezone'))->format('d-m-Y')}}</div>
  </div>
  <div class="row">
    <div class="col-md-2">Comentario</div>
  </div>
  <div class="form-group">
    <div class="col-md-7 col-md-offset-1"><textarea rows="5" class="form-control" name="comentario"></textarea></div>
  </div>
  <div class="form-group">
    <div class="col-md-offset-2 col-md-2"><button type="submit" class="form-control">Agregar</button></div>
  </div>
</form>
@endsection
