diff --git a/app/resources/views/search.blade.php b/app/resources/views/search.blade.php
index 55bdcd6..198fe62 100644
--- a/app/resources/views/search.blade.php
+++ b/app/resources/views/search.blade.php
@@ -58,6 +58,7 @@
if (!this.venta.current_estado.tipo_estado_venta.activa) {
unidad.html(unidad.html() + ' (I)')
}
+ unidad.html(unidad.html() + ' ')
propietario = $('')
.attr('href','{{$urls->base}}/search/"' + encodeURIComponent(this.venta.propietario.nombre_completo) + '"/propietario')
.html(this.venta.propietario.nombre_completo)
diff --git a/app/resources/views/ventas/pies/cuotas.blade.php b/app/resources/views/ventas/pies/cuotas.blade.php
index 49f734a..ae5c08b 100644
--- a/app/resources/views/ventas/pies/cuotas.blade.php
+++ b/app/resources/views/ventas/pies/cuotas.blade.php
@@ -167,7 +167,8 @@
}, 0.0))}}
- {{$format->number(($total > 0) ? $pagado / $total * 100 : 0, 2)}}%
+ {{ $format->percent(($total > 0) ? $pagado / $total : 0, 2, true) }} Pie
+ {{ $format->percent($pagado / $venta->valor, 2, true) }} Promesa
|
|
diff --git a/app/resources/views/ventas/show/forma_pago/anticipo.blade.php b/app/resources/views/ventas/show/forma_pago/anticipo.blade.php
index d9f3095..5bb9fbf 100644
--- a/app/resources/views/ventas/show/forma_pago/anticipo.blade.php
+++ b/app/resources/views/ventas/show/forma_pago/anticipo.blade.php
@@ -1,6 +1,6 @@
Anticipo |
- |
+ {{ $format->percent($anticipo['uf'] / $venta->valor, 2, true) }} |
{{$format->ufs($anticipo['uf'])}} |
{{$format->pesos($anticipo['pesos'])}} |
|
diff --git a/app/resources/views/ventas/show/forma_pago/bono_pie.blade.php b/app/resources/views/ventas/show/forma_pago/bono_pie.blade.php
index adae804..1201915 100644
--- a/app/resources/views/ventas/show/forma_pago/bono_pie.blade.php
+++ b/app/resources/views/ventas/show/forma_pago/bono_pie.blade.php
@@ -14,7 +14,7 @@
@endif
@if ($bonoPie !== null)
- |
+ {{ $format->percent($bonoPie->pago->valor() / $venta->valor, 2, true) }} |
{{$format->ufs($bonoPie->pago->valor())}} |
{{$format->pesos($bonoPie->pago->valor)}} |
|
diff --git a/app/resources/views/ventas/show/forma_pago/credito.blade.php b/app/resources/views/ventas/show/forma_pago/credito.blade.php
index 0310043..6a34bb9 100644
--- a/app/resources/views/ventas/show/forma_pago/credito.blade.php
+++ b/app/resources/views/ventas/show/forma_pago/credito.blade.php
@@ -14,7 +14,7 @@
@endif
@if ($credito !== null)
- |
+ {{ $format->percent($credito->pago->valor() / $venta->valor, 2, true) }} |
{{$format->ufs($credito->pago->valor())}}
|
diff --git a/app/resources/views/ventas/show/forma_pago/pie.blade.php b/app/resources/views/ventas/show/forma_pago/pie.blade.php
index 0142a58..bd9f084 100644
--- a/app/resources/views/ventas/show/forma_pago/pie.blade.php
+++ b/app/resources/views/ventas/show/forma_pago/pie.blade.php
@@ -13,8 +13,8 @@
@endif
- |
@if ($pie !== null)
+ {{ $format->percent($pie->valor / $venta->valor, 2, true) }} |
{{$format->ufs($pie->valor)}} |
{{$format->pesos($pie->valor * $pie->uf)}} |
Cuotas |
@@ -35,7 +35,7 @@
@if ($pie !== null)
Pagado |
- |
+ {{$format->percent($pie->pagado() / $venta->valor, 2, true)}} |
{{$format->ufs($pie->pagado())}} |
{{$format->pesos($pie->pagado('pesos'))}} |
|