Alert- Edit functionality will only work when you have only one deposit entry. It won't work if you have multiple deposit entries.\
\
If you see the "Edit" icon not available but the delete icon visible that means the amount has been adjusted already. In those cases, you have to delete the adjusted amount/transaction first & only then you can delete the payment