added purchase fix

This commit is contained in:
Shihaam Abdul Rahman 2021-05-14 14:47:22 +05:00
parent 0a43da367e
commit 3ee7873665

View File

@ -50,7 +50,7 @@ then
elif [ "$DESCRIPTION" = "Purchase" ]
then
FROMTOAT=At
ENTITI=$(echo $HISTORY | jq -r .narrative3 | head -n1)
ENTITY=$(echo $HISTORY | jq -r .narrative3 | head -n1)
elif [ "$DESCRIPTION" = "Salary" ] # if last trascation descripton is Salary
then
FROMTOAT=From