From 1c839a7f8418b4a8d9615c4d3a97f8c225e2180b Mon Sep 17 00:00:00 2001 From: Carlo Venusino Date: Tue, 17 Nov 2020 21:22:46 +0100 Subject: [PATCH] TT#99563 CSC: As a PBXAdmin, I want to see the allowed PBXExtension range near the PBXExtension input TT#99564 CSC: As a Customer, I want to be the PBXExtension validated according to the defined range AC: Can see a short text/hint under the PBXExtension input field, that shows the PBXExtension range in a human readable way Can see an error if I try to input a PBXExtension that is out of range Can input any value in case no range is set Can see a different message wether min or max only are set * Enable the extension range on AUI 1. install ngcp-ppa -k gerrit_fmates_ext_range on your dev environment 2. in AUI go to Subscriber's customer->customer preferences->cloud pbx Change-Id: Ia97cd3049bfed68e67317aceaf26f0d304496b5b --- .../pages/PbxConfiguration/CscPbxGroup.vue | 29 +++++++++++++++++++ .../PbxConfiguration/CscPbxGroupAddForm.vue | 18 ++++++++++-- .../pages/PbxConfiguration/CscPbxSeat.vue | 29 +++++++++++++++++++ .../PbxConfiguration/CscPbxSeatAddForm.vue | 21 ++++++++++++-- src/helpers/validation.js | 13 +++++++++ src/i18n/en.json | 5 +++- src/store/pbx.js | 28 ++++++++++++++++++ 7 files changed, 138 insertions(+), 5 deletions(-) diff --git a/src/components/pages/PbxConfiguration/CscPbxGroup.vue b/src/components/pages/PbxConfiguration/CscPbxGroup.vue index 198a25c9..491c8b8b 100644 --- a/src/components/pages/PbxConfiguration/CscPbxGroup.vue +++ b/src/components/pages/PbxConfiguration/CscPbxGroup.vue @@ -84,8 +84,13 @@