Cuota abono en venta

This commit is contained in:
Juan Pablo Vial
2024-11-28 12:02:49 -03:00
parent 4392f61db9
commit 83ea955d89
2 changed files with 7 additions and 1 deletions

View File

@ -11,6 +11,7 @@ class FormaPago implements JsonSerializable
public ?Subsidio $subsidio = null;
public ?Credito $credito = null;
public ?Pago $devolucion = null;
public ?array $cuotasAbono = null;
public function anticipo(string $moneda = Pago::UF): float
{
@ -72,7 +73,8 @@ class FormaPago implements JsonSerializable
'bono_pie' => $this->bonoPie ?? null,
'subsidio' => $this->subsidio ?? null,
'credito' => $this->credito ?? null,
'devolucion' => $this->devolucion ?? null
'devolucion' => $this->devolucion ?? null,
'cuotas_abono' => $this->cuotasAbono ?? []
];
}
}