From: Paul Hänsch Date: Thu, 23 Oct 2025 08:24:10 +0000 (+0200) Subject: Merge remote-tracking branch 'refs/remotes/origin/master' X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=246460daac5c386640c522078f9d2f5fcc23b6dd;p=confetti Merge remote-tracking branch 'refs/remotes/origin/master' --- 246460daac5c386640c522078f9d2f5fcc23b6dd diff --cc ledgers/account.sh index 6a8fce1,6211f09..4a9fa6d --- a/ledgers/account.sh +++ b/ledgers/account.sh @@@ -33,10 -33,9 +33,10 @@@ if tid="$(POST tid)"; the tref="$(POST tref |grep -m1 -xE '.+')" tamount="$(POST tamount \ | sed -E ' - s;^([\+-]?[0-9]+)[\.,]([0-9][0-9])$;\1\2;; + s;^([\+-]?[0-9]+)[\.,]([0-9][0-9])$;\1\2;; t; s;^([\+-]?[0-9]+)$;&00;; ' | grep -m1 -xE '[\+-]?[0-9]+')" + torig="$(POST torig |grep -m1 -xE '\\|[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}')" # debug "TDATE: $tdate TREF: $tref AMOUNT: $tamount" if ! [ "$tdate" -a "$tref" -a "$tamount" ]; then SET_COOKIE 0 message="Transaction info invalid"