Description |
*Steps to reproduce*
# go to pos create an invoice and save and print
# after save and print search for the invoice
# selet the invocie
# click on return
# save and print the return
# return processes
# save and print the return again
# retrun reprocesses
*Expected behavior:*
Retrun should only process one time.
*Solution:*
* Add a field to the POS receipt to track if a receipt has been returned
* add a field to track the sales receipt number for the retrun of the sales receipt
* when the sales receipt return has been posted - flag the initial sales receipt as retruned and put the retrun number on the sales receipt
* do not allow the sales receipt to be returned twice.
|