diff --git a/resources/assets/js/plugins/es.js b/resources/assets/js/plugins/es.js index 0f151f31..343ea5d6 100644 --- a/resources/assets/js/plugins/es.js +++ b/resources/assets/js/plugins/es.js @@ -222,6 +222,7 @@ export default { action: 'Acción', notes: 'Notas', tax: 'Impuesto', + send_estimate: 'Enviar presupuesto', estimate_template: 'Plantilla de estimación', convert_to_invoice: 'Convertir a factura', mark_as_sent: 'Marcar como enviado', diff --git a/resources/assets/js/store/modules/estimate/actions.js b/resources/assets/js/store/modules/estimate/actions.js index a69b025d..0e5f0d8e 100644 --- a/resources/assets/js/store/modules/estimate/actions.js +++ b/resources/assets/js/store/modules/estimate/actions.js @@ -130,7 +130,7 @@ export const markAsRejected = ({ commit, dispatch, state }, data) => { export const markAsSent = ({ commit, dispatch, state }, data) => { return new Promise((resolve, reject) => { - window.axios.post(`/api/estimates/sent`, data).then((response) => { + window.axios.post(`/api/estimates/mark-as-sent`, data).then((response) => { // commit(types.UPDATE_INVOICE, response.data) resolve(response) }).catch((err) => {