How to reverse a sales in samba pos

@riyas_k13 Please read this:

To be able to change payment type first you need to delete all current payments and re-settle ticket with correct payment types.

Implement this to cancel payments. Reopen ticket does nothing by itself. It is useful when used with “cancel payments” action.

emre said:
Enable More Ticket Actions Module from Samba Market. This module enables Reopen Closed Ticket and Cancel Payments action types.
Create two actions for both of these action types. These actions does not have parameters.
Create “Display Ticket” action and name it as Refresh Ticket. Set TicketId parameter as 0.
Create an automation command, name it as you wish an place it somewhere suitable.
Create a rule to handle this command and call first Reopen Closed Ticket and Cancel Payments action. Add also Refresh Ticket action to update ticket display.
Button appears gray because of the button mappings configuration. Take a breath, edit automation command that you’ve created for cancel payments, go to mappings page and clear “Enabled States” value completely. After this change button should appear functional.