diff --git a/app/resources/views/ventas/show.blade.php b/app/resources/views/ventas/show.blade.php index ff7d258..0260d2e 100644 --- a/app/resources/views/ventas/show.blade.php +++ b/app/resources/views/ventas/show.blade.php @@ -32,46 +32,3 @@ $showPropietario = true; @include('ventas.show.comentarios') @endsection - -{{--@section('page_content') -
-
-

-
-
{{$venta->proyecto()->descripcion}}
- {{$venta->propiedad()->summary()}} -
-

-
- @include('ventas.show.propietario') -
-
-
-
- @if ($venta->currentEstado()->tipoEstadoVenta->activa) - - Desistir - - - Ceder - - @else -
- - {{ucwords($venta->currentEstado()->tipoEstadoVenta->descripcion)}} - ( - {{$format->pesos($venta->resciliacion()->valor)}} - ) -
- @endif -
-
- @include('ventas.show.propiedad') - @include('ventas.show.detalle') - @include('ventas.show.forma_pago', ['formaPago' => $venta->formaPago()]) - @include('ventas.show.escritura') - @include('ventas.show.entrega') - @include('ventas.show.comentarios') -
-
-@endsection--}} diff --git a/app/resources/views/ventas/show/forma_pago.blade.php b/app/resources/views/ventas/show/forma_pago.blade.php index 201bff6..2f2a264 100644 --- a/app/resources/views/ventas/show/forma_pago.blade.php +++ b/app/resources/views/ventas/show/forma_pago.blade.php @@ -3,14 +3,14 @@
- @include('ventas.show.forma_pago.pie', ['pie' => $formaPago->pie]) - @include('ventas.show.forma_pago.escritura', ['escritura' => $formaPago->escritura]) - @include('ventas.show.forma_pago.anticipo', ['anticipo' => ['uf' => $formaPago->anticipo(), 'pesos' => $formaPago->anticipo('pesos')]]) - @include('ventas.show.forma_pago.bono_pie', ['bonoPie' => $formaPago->bonoPie]) - @include('ventas.show.forma_pago.subsidio', ['subsidio' => $formaPago->subsidio]) - @include('ventas.show.forma_pago.credito', ['credito' => $formaPago->credito]) + @include('ventas.show.forma_pago.pie', ['pie' => $formaPago?->pie]) + @include('ventas.show.forma_pago.escritura', ['escritura' => $formaPago?->escritura]) + @include('ventas.show.forma_pago.anticipo', ['anticipo' => ['uf' => $formaPago?->anticipo(), 'pesos' => $formaPago?->anticipo('pesos')]]) + @include('ventas.show.forma_pago.bono_pie', ['bonoPie' => $formaPago?->bonoPie]) + @include('ventas.show.forma_pago.subsidio', ['subsidio' => $formaPago?->subsidio]) + @include('ventas.show.forma_pago.credito', ['credito' => $formaPago?->credito]) @include('ventas.show.forma_pago.total') - @include('ventas.show.forma_pago.devolucion', ['devolucion' => $formaPago->devolucion]) + @include('ventas.show.forma_pago.devolucion', ['devolucion' => $formaPago?->devolucion])