diff --git a/src/pages/Order/OrderLines.vue b/src/pages/Order/OrderLines.vue index e014ed44a..38ed8f9b0 100644 --- a/src/pages/Order/OrderLines.vue +++ b/src/pages/Order/OrderLines.vue @@ -50,6 +50,14 @@ async function remove(item) { }); refresh(); } + +async function confirmOrder() { + await axios.post(`Orders/${route.params.id}/confirm`); + quasar.notify({ + message: t('globals.confirm'), + type: 'positive', + }); +} @@ -137,12 +145,12 @@ async function remove(item) { - + {{ row.item.subName }} - + - + + + + + {{ t('confirm') }} + + en: @@ -236,6 +254,7 @@ en: remove: Remove confirmDeletion: Confirm deletion, confirmDeletionMessage: Are you sure you want to delete this item? + confirm: Confirm es: summary: Resumen subtotal: Subtotal @@ -250,4 +269,5 @@ es: remove: Eliminar confirmDeletion: Confirmar eliminación, confirmDeletionMessage: Seguro que quieres eliminar este artÃculo? + confirm: Confirmar