From f1cef0a17e34715e8c8abf476e56c794eedf0847 Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Fri, 4 Oct 2024 15:16:24 +0530 Subject: [PATCH] Implemented: logic to perform job scheduling actions (#299) --- .env.example | 2 +- src/views/catalog-product-details.vue | 2 +- src/views/job-actions-popover.vue | 28 ++++----------------------- src/views/job-history-modal.vue | 2 -- 4 files changed, 6 insertions(+), 28 deletions(-) diff --git a/.env.example b/.env.example index 6002fc9c..c186a06a 100644 --- a/.env.example +++ b/.env.example @@ -11,7 +11,7 @@ VUE_APP_BASE_URL= VUE_APP_ORDER_IN_BRKRNG_FILTERS=["orderTypeId: SALES_ORDER", "facilityId: _NA_", "orderStatusId: ORDER_APPROVED", "!orderItemStatusId: ITEM_CANCELLED" ] VUE_APP_PERMISSION_ID= VUE_APP_ALIAS= -VUE_APP_CTGRY_AND_BRKRNG_JOB=["JOB_REL_PREODR_CAT", "JOB_BKR_ORD", "JOB_RLS_ORD_DTE"] +VUE_APP_CTGRY_AND_BRKRNG_JOB=["JOB_REL_PREODR_CAT", "JOB_RLS_ORD_DTE"] VUE_APP_DEFAULT_ALIAS= VUE_APP_DEFAULT_LOG_LEVEL="error" VUE_APP_LOGIN_URL="http://launchpad.hotwax.io/login" \ No newline at end of file diff --git a/src/views/catalog-product-details.vue b/src/views/catalog-product-details.vue index dbdde1f3..3216c519 100644 --- a/src/views/catalog-product-details.vue +++ b/src/views/catalog-product-details.vue @@ -285,7 +285,7 @@
- +

{{ $t('Pre-sell computation') }}

{{ getCtgryAndBrkrngJob('JOB_REL_PREODR_CAT').lastRunTime && timeTillJob(getCtgryAndBrkrngJob('JOB_REL_PREODR_CAT').lastRunTime) }}

diff --git a/src/views/job-actions-popover.vue b/src/views/job-actions-popover.vue index 4b2ea3dc..3d89da84 100644 --- a/src/views/job-actions-popover.vue +++ b/src/views/job-actions-popover.vue @@ -1,18 +1,12 @@