From 07289b01e99131c08ff6062682b16ad694a2105e Mon Sep 17 00:00:00 2001 From: ale Date: Tue, 17 Sep 2024 21:45:28 -0300 Subject: [PATCH] =?UTF-8?q?Arreglado=20metodo=20que=20al=20final=20s=C3=AD?= =?UTF-8?q?=20era=20usado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Producto.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Producto.php b/app/Producto.php index 23694c9..f3fb6b4 100644 --- a/app/Producto.php +++ b/app/Producto.php @@ -42,6 +42,10 @@ class Producto extends Model return Producto::pluck('id', 'fila',)->all(); } + public static function productosIDFila() { + return Producto::pluck('fila', 'id',)->all(); + } + public static function productosIDNombre() { return Producto::pluck('nombre', 'id',)->all(); }