ignore negative transacations
This commit is contained in:
parent
244f63e80d
commit
af0a122d2b
3
tx.sh
3
tx.sh
@ -5,4 +5,5 @@ source .env 2> /dev/null
|
|||||||
curl 'https://faisanet.mib.com.mv/ajaxAccounts/trxHistory' \
|
curl 'https://faisanet.mib.com.mv/ajaxAccounts/trxHistory' \
|
||||||
-H "cookie: ql_0=${QL_0}; IBSID=${IBSID}" \
|
-H "cookie: ql_0=${QL_0}; IBSID=${IBSID}" \
|
||||||
--data-raw "accountNo=${ACCOUNT_NUMBER}&trxNo=&trxType=0&sortTrx=date&sortDir=desc&fromDate=&toDate=&start=1&end=20&includeCount=1" -s \
|
--data-raw "accountNo=${ACCOUNT_NUMBER}&trxNo=&trxType=0&sortTrx=date&sortDir=desc&fromDate=&toDate=&start=1&end=20&includeCount=1" -s \
|
||||||
| sed 's/"benefName":"BML - /"benefName":"/g'
|
| sed 's/"benefName":"BML - /"benefName":"/g' \
|
||||||
|
| jq '.data |= map(select(.baseAmount | tonumber > 0))'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user