Zerodha get caught here

These days I have been trading more on delivery type trades

Here is my screenshot of recent delivery trades ..where instead of incurring profits of almost 1k rs I have incurred loss of 600.
Even my value is increased then why after sell im paying 600 instead of getting my booked profit.??

Sent from my M2003J15SC using Tapatalk