]> git.plutz.net Git - confetti/commitdiff
Merge remote-tracking branch 'refs/remotes/origin/master' master
authorPaul Hänsch <paul@plutz.net>
Thu, 23 Oct 2025 08:24:10 +0000 (10:24 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 23 Oct 2025 08:24:10 +0000 (10:24 +0200)
1  2 
l10n.sh
ledgers/account.sh

diff --cc l10n.sh
Simple merge
index 6a8fce1ca6f50dda1c502bb81406796fceb6b47f,6211f0987c8bfa417a3dda23ea6fd34320bc1cd9..4a9fa6dbc468644368bb09b655b9604945767dc1
@@@ -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"