From 62077dfd5005c0e282b9df33528c5a74b534de05 Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Tue, 13 Dec 2022 17:50:18 +0300 Subject: [PATCH] unused code ejected --- resources/assets/js/views/common/documents.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/resources/assets/js/views/common/documents.js b/resources/assets/js/views/common/documents.js index 2570b4ece..6e29eb03e 100644 --- a/resources/assets/js/views/common/documents.js +++ b/resources/assets/js/views/common/documents.js @@ -814,11 +814,6 @@ const app = new Vue({ watch: { 'form.discount': function (newVal, oldVal) { - if (newVal > 99) { - newVal = oldVal; - return; - } - if (newVal != '' && newVal.search('^[-+]?([0-9]|[1-9][0-9]|100)*\.?[0-9]+$') !== 0) { this.form.discount = oldVal; this.form.discount = this.form.discount ? this.form.discount.replace(',', '.') : '';