From bfdef1c19abb06307944ccf2df0f250a8124aeac Mon Sep 17 00:00:00 2001 From: Elsio Sanchez <45974454+elsiosanchez@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:57:42 -0400 Subject: [PATCH] Validate POS (#2828) --- src/store/modules/ADempiere/form/VPOS/index.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/store/modules/ADempiere/form/VPOS/index.js b/src/store/modules/ADempiere/form/VPOS/index.js index 6c9106c948..6090edc2d3 100644 --- a/src/store/modules/ADempiere/form/VPOS/index.js +++ b/src/store/modules/ADempiere/form/VPOS/index.js @@ -34,7 +34,7 @@ import { } from '@/api/ADempiere/form/VPOS/CommandShortcut' // Utils and Helper Methods import { isEmptyValue } from '@/utils/ADempiere/valueUtils.js' -import { showMessage, showNotification } from '@/utils/ADempiere/notification' +import { showMessage } from '@/utils/ADempiere/notification' const VPOS = { listDocumentTypes: [], @@ -91,15 +91,6 @@ export default { return new Promise(resolve => { const currentRouter = router.app.$route const { posId } = currentRouter.query - if (isEmptyValue(posId)) { - showNotification({ - title: language.t('pointOfSales.withoutPOSTerminal'), - message: router.app.$route.title, - summary: router.app.$route.description, - type: 'error' - }) - return - } if (!isEmptyValue(posId)) id = posId if (isEmptyValue(id)) { dispatch('listPointOfSale')