Files
This commit is contained in:
@ -14,7 +14,7 @@ use Incoviba\API\Common\Alias\Model;
|
||||
* @property ?Escritura $escritura
|
||||
* @property ?Subsidio $subsidio
|
||||
* @property ?DateTime $escriturado
|
||||
* @property ?Entrega $entrga
|
||||
* @property ?Entrega $entrega
|
||||
* @property ?DateTime $entregado
|
||||
* @property DateTime $fecha
|
||||
* @property double $valor_uf
|
||||
@ -90,12 +90,12 @@ class Venta extends Model {
|
||||
}
|
||||
return $this->entrega_o;
|
||||
}
|
||||
protected $agente_o;
|
||||
public function agente() {
|
||||
if ($this->agente_o === null) {
|
||||
$this->agente_o = $this->childOf(Agente::class, [Model::SELF_KEY => 'agente']);
|
||||
protected $pa;
|
||||
public function proyectoAgente() {
|
||||
if ($this->pa === null) {
|
||||
$this->pa = $this->childOf(ProyectoAgente::class, [Model::SELF_KEY => 'agente']);
|
||||
}
|
||||
return $this->agente_o;
|
||||
return $this->pa;
|
||||
}
|
||||
protected $promocion_o;
|
||||
public function promocion() {
|
||||
|
Reference in New Issue
Block a user