How can i merge quantiity of the items which are in different kot on one table but want to display in receipt with total?

Yes, That is possible.

Screenshot

Once you will do above settings, your outcome will be as below