@extends('layout.base') @section('content')
@include('ventas.sort_title', ['title' => 'Departamento']) | @include('ventas.sort_title', ['title' => 'Propietario']) | @include('ventas.sort_title', ['title' => 'Valor [UF]']) | @include('ventas.sort_title', ['title' => 'Tipología']) | @include('ventas.sort_title', ['title' => 'UF/m²']) | @include('ventas.sort_title', ['title' => 'Fecha Venta']) | @include('ventas.sort_title', ['title' => 'Estado']) |
---|---|---|---|---|---|---|
{{trim(array_reduce($venta->propiedad()->departamentos(), function($carry, $item) { return implode(' - ', [$carry, $item->descripcion]); }), ' -')}} {{(count($venta->propiedad()->estacionamientos('array')) > 0) ? ' - E' . implode(', ', $venta->propiedad()->estacionamientos('array')) : ''}} {{(count($venta->propiedad()->bodegas('array')) > 0) ? ' - B' . implode(', ', $venta->propiedad()->bodegas('array')) : ''}} | propietario()->nombreCompleto() . '"')}}">{{$venta->propietario()->nombreCompleto()}} | {{\App\Helper\Format::ufs($venta->valor_uf)}} | {{$venta->propiedad()->unidad()->tipologia()->tipologia()->descripcion}} ({{format('m2', $venta->propiedad()->unidad()->tipologia()->m2())}} m²) | {{\App\Helper\Format::ufs($venta->uf_m2())}} | {{$venta->fecha()->format('d-m-Y')}} | {{ucwords($venta->estado()->tipo()->descripcion)}} |