Implemented repository mapper, and venta show

This commit is contained in:
Juan Pablo Vial
2023-08-08 23:53:49 -04:00
parent ef30ae67d2
commit 59825259b6
111 changed files with 2766 additions and 612 deletions

View File

@ -0,0 +1,22 @@
<div class="ui inverted grey segment">
ESCRITURA
</div>
@if ($venta->formaPago()->escritura !== null)
<div class="ui segment">
Escriturado {{$venta->formaPago()->escritura->fecha->format('d-m-Y')}}
<a href="{{$urls->base}}/venta/{{$venta->id}}/escritura/informe">
Informe
<i class="right chevron icon"></i>
</a>
<br />
<a href="{{$urls->base}}/venta{{$venta->id}}/escritura/firmar">
Firmar
</a>
</div>
@else
<div class="ui segment">
<a href="{{$urls->base}}/venta/{{$venta->id}}/escriturar">
Escriturar
</a>
</div>
@endif