=== 'PNT') {
            if (prevPriceCurrency) {
                e.value = prevPriceCurrency
            } else {
                e.value = 'RUB'
            }
            e.readOnly = false
        }
    }

    function setPntPriceCurrency() {
        let e = document.getElementById('price-currency')
        prevPriceCurrency = e.value
        e.value = 'PNT'
        e.readOnly = true
    }

    function setPattern(id, pattern) {
        document.getElementById(id).setAttribute("pattern", pattern)
    }

