From cc566d4a396deb01e50f7863e0ef00c0bda0b13b Mon Sep 17 00:00:00 2001 From: Aldarien Date: Thu, 4 Jun 2020 00:16:45 -0400 Subject: [PATCH] FIX: no cargaba el valor --- src/Producto.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Producto.php b/src/Producto.php index b1b6648..93cf088 100644 --- a/src/Producto.php +++ b/src/Producto.php @@ -114,6 +114,7 @@ class Producto extends Model { $this->id = $data->id ?? null; $this->nombre = $data->nombre; $this->segmento = $data->segmento; + $this->valor = $data->valor; $this->direccion = new Direccion(); $this->direccion->map($data); $this->valor($data->valor);