FIX: no cargaba el valor
This commit is contained in:
@ -114,6 +114,7 @@ class Producto extends Model {
|
|||||||
$this->id = $data->id ?? null;
|
$this->id = $data->id ?? null;
|
||||||
$this->nombre = $data->nombre;
|
$this->nombre = $data->nombre;
|
||||||
$this->segmento = $data->segmento;
|
$this->segmento = $data->segmento;
|
||||||
|
$this->valor = $data->valor;
|
||||||
$this->direccion = new Direccion();
|
$this->direccion = new Direccion();
|
||||||
$this->direccion->map($data);
|
$this->direccion->map($data);
|
||||||
$this->valor($data->valor);
|
$this->valor($data->valor);
|
||||||
|
Reference in New Issue
Block a user