WIP: funcion/faltantes-y-sobrantes #52

Draft
atasistro wants to merge 39 commits from funcion/faltantes-y-sobrantes into master
Showing only changes of commit 37cebf11ee - Show all commits

View file

@ -65,7 +65,7 @@ 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 }) {
async abrirFaltantesYSobrantes({ dispatch }) {
const { data } = await axios.get(`/admin/${state.grupo_de_compra_id}/faltantes-y-sobrantes`)
const pedido = { pedido_id: data.id };
dispatch("productos/init", null, { root: true });