This commit is contained in:
2021-12-25 23:17:47 -03:00
parent 7e01974ec8
commit d7d671fb51
68 changed files with 2991 additions and 160 deletions

View File

@ -26,7 +26,7 @@
</thead>
<tbody>
<tr>
<td>{{\App\Helper\Format::number($venta->propietario()->rut, 0)}}-{{$venta->propietario()->dv}}</td>
<td>{{$format->number($venta->propietario()->rut, 0)}}-{{$venta->propietario()->dv}}</td>
<td>{{($venta->propietario()->direccion()) ? $venta->propietario()->direccion()->completa() : ''}}</td>
</tr>
<tr>
@ -79,7 +79,7 @@
<td>{{ucwords($venta->unidad()->tipo()->descripcion)}} {{$venta->unidad()->tipologia()->tipologia()->descripcion}}</td>
<td>{{$venta->unidad()->descripcion}}</td>
<td>{{$venta->unidad()->piso}}</td>
<td>{{\App\Helper\Format::number($venta->unidad()->m2(), 2)}} m&#0178;</td>
<td>{{$format->number($venta->unidad()->m2(), 2)}} m&#0178;</td>
<td class="text-right">
@if ($venta->unidad()->precio($venta->fecha()))
{{format('ufs', $venta->unidad()->precio($venta->fecha())->valor)}} UF
@ -111,7 +111,7 @@
<td>{{$unidad->unidad()->piso}}</td>
<td>
@if ($unidad->unidad()->tipo()->descripcion == 'departamento')
{{\App\Helper\Format::number($unidad->unidad()->m2(), 2)}} m&#0178;
{{$format->number($unidad->unidad()->m2(), 2)}} m&#0178;
@endif
</td>
<td class="text-right">
@ -171,7 +171,7 @@
<td>{{format('ufs', $venta->valor_uf)}} UF</td>
<td>{{format('ufs', $venta->valorFinal())}} UF</td>
<td>{{format('ufs', $venta->uf_m2(), null, true)}}/m&#0178;</td>
<td>{{format('ufs', $venta->valorComision())}} UF ({{\App\Helper\Format::number($venta->comision() * 100, 2)}}%)
<td>{{format('ufs', $venta->valorComision())}} UF ({{$format->number($venta->comision() * 100, 2)}}%)
@if ($venta->agente != 0)
<br />
{{$venta->agente()->agente()->agente()->descripcion}}