From 54762cd42144755b287890533b3bee4a6911af1f Mon Sep 17 00:00:00 2001 From: Jan Novak Date: Tue, 24 Mar 2026 17:35:46 +0100 Subject: [PATCH] feat: Change QR payment message separator from "/" to ":" Format is now "Name: MM/YYYY+MM/YYYY" instead of "Name / MM/YYYY+MM/YYYY" for clearer readability when multiple months are included. Co-Authored-By: Claude Opus 4.6 --- templates/adults.html | 2 +- templates/juniors.html | 2 +- templates/reconcile-juniors.html | 2 +- templates/reconcile.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/adults.html b/templates/adults.html index 5736b0c..e2de9c2 100644 --- a/templates/adults.html +++ b/templates/adults.html @@ -867,7 +867,7 @@ const numericMonth = rawMonth.includes('+') ? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+') : rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1'); - const message = `${name} / ${numericMonth}`; + const message = `${name}: ${numericMonth}`; const qrTitle = document.getElementById('qrTitle'); const qrImg = document.getElementById('qrImg'); const qrAccount = document.getElementById('qrAccount'); diff --git a/templates/juniors.html b/templates/juniors.html index 209e322..3bc005d 100644 --- a/templates/juniors.html +++ b/templates/juniors.html @@ -848,7 +848,7 @@ const numericMonth = rawMonth.includes('+') ? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+') : rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1'); - const message = `${name} / ${numericMonth}`; + const message = `${name}: ${numericMonth}`; const qrTitle = document.getElementById('qrTitle'); const qrImg = document.getElementById('qrImg'); const qrAccount = document.getElementById('qrAccount'); diff --git a/templates/reconcile-juniors.html b/templates/reconcile-juniors.html index 8b04011..3f33de1 100644 --- a/templates/reconcile-juniors.html +++ b/templates/reconcile-juniors.html @@ -851,7 +851,7 @@ const numericMonth = rawMonth.includes('+') ? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+') : rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1'); - const message = `${name} / ${numericMonth}`; + const message = `${name}: ${numericMonth}`; const qrTitle = document.getElementById('qrTitle'); const qrImg = document.getElementById('qrImg'); const qrAccount = document.getElementById('qrAccount'); diff --git a/templates/reconcile.html b/templates/reconcile.html index 5879f5e..bcb89a5 100644 --- a/templates/reconcile.html +++ b/templates/reconcile.html @@ -851,7 +851,7 @@ const numericMonth = rawMonth.includes('+') ? rawMonth.split('+').map(p => p.replace(/(\d{4})-(\d{2})/, '$2/$1')).join('+') : rawMonth.replace(/(\d{4})-(\d{2})/, '$2/$1'); - const message = `${name} / ${numericMonth}`; + const message = `${name}: ${numericMonth}`; const qrTitle = document.getElementById('qrTitle'); const qrImg = document.getElementById('qrImg'); const qrAccount = document.getElementById('qrAccount');