Fixes und Währungsumstellung

This commit is contained in:
2026-06-04 23:32:29 +02:00
parent aff5b2cf12
commit b5b7866395
10 changed files with 214 additions and 181 deletions

View File

@@ -0,0 +1,9 @@
<div x-data="{
inputValue: '1',
convert: v => new Decimal(v).times({{ .Params.from_factor }}).dividedBy({{ .Params.to_factor }}),
async init() {
const params = new URLSearchParams(window.location.search);
const valueParam = params.get('v');
if (valueParam) this.inputValue = valueParam.replace(/,/g, '.');
}
}" x-init="init()">