diff --git a/ajax/articulo.php b/ajax/articulo.php index 94ef112..5aae15e 100644 --- a/ajax/articulo.php +++ b/ajax/articulo.php @@ -51,7 +51,7 @@ switch ($_GET["op"]) { $rspta=$articulo->mostrar($idarticulo); echo json_encode($rspta); break; - + case 'listar': $rspta=$articulo->listar(); $data=Array(); diff --git a/vistas/articulo.php b/vistas/articulo.php index c935fcb..1e917e0 100644 --- a/vistas/articulo.php +++ b/vistas/articulo.php @@ -33,6 +33,16 @@ if ($_SESSION['acceso']==1) {
| Opciones | Nombre |
|---|