I have settled a ticket. After settling that ticket want to refund. During the refund the settled ticket is never changed. The refund items want to be generate as a new ticket with new ticket number. The user can never change the closed ticket and the new ticket should contains the reference of old ticket. I'm using samba pos version 3