From bf703489fd5808fb13aef6af44861fcca491c45c Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Tue, 20 Aug 2024 21:15:22 -0300 Subject: [PATCH] Actualizar total bonos barriales en admin --- resources/js/components/PedidosAdminBody.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/js/components/PedidosAdminBody.vue b/resources/js/components/PedidosAdminBody.vue index 7a5be09..0ed28f6 100644 --- a/resources/js/components/PedidosAdminBody.vue +++ b/resources/js/components/PedidosAdminBody.vue @@ -76,6 +76,8 @@ export default { .then(response => { this.pedidos = response.data.data }).get; + axios.get("/api/grupos-de-compra/"+this.gdc+"/bonos-barriales", {}) + .then(response => this.totalBonosBarriales = response.data.bonos_barriales) }, setSeccionActiva(tabId) { this.tabActiva = tabId;