From 3733fb7b5f732d40112e21637aeba6f5e91ed7b6 Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Thu, 3 Jul 2025 12:37:00 +0300 Subject: [PATCH] [ERP-436] --- erp24/web/js/validate/validateForm.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/erp24/web/js/validate/validateForm.js b/erp24/web/js/validate/validateForm.js index 8798e542..97f77bed 100755 --- a/erp24/web/js/validate/validateForm.js +++ b/erp24/web/js/validate/validateForm.js @@ -65,7 +65,18 @@ $(".form-validate button").click(function (e) { const selectedStoreId = $('#writeoffserp-store_id').val(); const commentValue = $('#writeoffserp-comment').val().trim(); - const specialStoreIds = ['1', '9', '28', '30', '15', '44', '8']; + const specialStoreIds = [ + ' 1,', + ' 8,', + ' 9,', + ' 13', + ' 15', + ' 19', + ' 28', + ' 30', + ' 41', + ' 44', + ]; const allowedCommentUsers = ['Емельянова Ольга', 'Яшенкова Алёна', 'Ольга Цветкова']; if (specialStoreIds.includes(selectedStoreId)) { -- 2.39.5