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 6471f06..bb5e032 100644
--- a/app/resources/views/ventas/show/forma_pago/pie.blade.php
+++ b/app/resources/views/ventas/show/forma_pago/pie.blade.php
@@ -16,7 +16,7 @@
{{count($pie->cuotas(true))}}/{{$pie->cuotas}}
- @if (count($pie->cuotas()) < $pie->cuotas)
+ @if (count($pie->cuotas(false, true)) < $pie->cuotas)
diff --git a/app/src/Model/Venta/Pie.php b/app/src/Model/Venta/Pie.php
index 96d023f..adb5862 100644
--- a/app/src/Model/Venta/Pie.php
+++ b/app/src/Model/Venta/Pie.php
@@ -18,7 +18,7 @@ class Pie extends Model
public function cuotas(bool $pagadas = false, bool $vigentes = false): array
{
if ($this->asociado !== null) {
- return $this->asociado->cuotas($pagadas);
+ return $this->asociado->cuotas($pagadas, $vigentes);
}
if (!$pagadas and !$vigentes) {
return $this->cuotasArray;