Mai ek stock Register app bana raha hu maine pahli screen par stock item ki list banai hai fir dusri screen par item ki total in , total Out, remaining balance ki history banaye hai par mai jaise hi stock in or out karta hu to blance me sahi calculation aati hai par jaisi hi kisi in or out history ko delete karta hu to Total ki value idar udar ho jati hai recalculate sahi se nhi karta hai
[translated]
I am making a stock register app. I have made a list of stock items on the first screen and then on the second screen I have made a history of the total in, total out and remaining balance of the item. But as soon as I put stock in or out, the correct calculation comes in the balance but as soon as I delete any in or out history, the total value goes up and down and it does not recalculate correctly.
