Correct currency check in `invdata`

This commit is contained in:
Rene Vergara 2023-06-22 10:10:19 -05:00
parent cd93f0031d
commit fb0144bbe1
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ routes pipe config = do
Just xI -> do
if xi_type xI == "ACCREC"
then if xi_status xI == "AUTHORISED"
then if xi_currency xI == ocurrency o'
then if xi_currency xI == T.toUpper (ocurrency o')
then if xi_total xI == xr_amount invReq
then do
now <- liftIO getCurrentTime