Mostrar correctamente venta desistida
This commit is contained in:
@ -17,6 +17,7 @@ class Venta extends Ideal\Model
|
||||
public bool $relacionado;
|
||||
protected ?Venta\Entrega $entrega;
|
||||
public float $uf;
|
||||
protected ?Pago $resciliacion;
|
||||
|
||||
public array $estados;
|
||||
public Venta\EstadoVenta $currentEstado;
|
||||
@ -49,6 +50,13 @@ class Venta extends Ideal\Model
|
||||
}
|
||||
return $this->entrega;
|
||||
}
|
||||
public function resciliacion(): ?Venta\Pago
|
||||
{
|
||||
if (!isset($this->resciliacion)) {
|
||||
$this->resciliacion = $this->runFactory('resciliacion');
|
||||
}
|
||||
return $this->resciliacion;
|
||||
}
|
||||
|
||||
public function estados(): array
|
||||
{
|
||||
|
Reference in New Issue
Block a user