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

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