Gift on invoice

Good afternoon, I have a problem with charging “gifts”, with samba pos 4 when I gave a dish as a gift, the cost “0” appeared on the receipt, however now, sambapos5 the price remains unchanged. removes it from the total but the price remains marked in the list.