From e370ce2a0d6086ce09b9a620098b02d599d7af39 Mon Sep 17 00:00:00 2001 From: ale Date: Sat, 13 Sep 2025 19:13:55 -0300 Subject: [PATCH] =?UTF-8?q?Agregado=20m=C3=A9todo=20para=20abrir=20faltant?= =?UTF-8?q?es=20y=20sobrantes,=20cargando=20productos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/js/store/modules/admin/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/js/store/modules/admin/index.ts b/resources/js/store/modules/admin/index.ts index 4da30e9..12b5de6 100644 --- a/resources/js/store/modules/admin/index.ts +++ b/resources/js/store/modules/admin/index.ts @@ -65,6 +65,10 @@ const actions = { await axios.post(`/api/grupos-de-compra/${state.grupo_de_compra_id}/${caracteristica_id}`); commit('toggleCaracteristica', { caracteristica_id: caracteristica_id }) }, + async abrirFaltantesYSobrantes({ commit, dispatch }) { + dispatch("productos/init", null, { root: true }); + dispatch("ui/toggleFaltantesYSobrantes", null, { root: true }); + } }; const getters = {