added purchase

This commit is contained in:
Shihaam Abdul Rahman 2021-05-14 14:45:57 +05:00
parent 3227905f19
commit 0a43da367e

View File

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