Overview: Not able to change the voucher starting number in invoice settings or reset voucher number sequence.
Steps to Reproduce:
- Log into FOLIO-snapshot or bugfest-juniper
- Select settings
- Select Invoices
- Select Voucher number
- input a value into the Starting number field
- Click reset sequence
Expected Results: Starting number is saved and voucher sequence is reset and displays the next number in sequence as the number you input for "Starting number"
Actual Results: Start number could not be saved error is shown.
Additional Information: see link below to test
Error message for /voucher/voucher-number/start/1 :
The issue happens between mod-invoice and mod-invoice-storage: mod-invoice uses application/json as the Accept header, while mod-invoice-storage only accepts text/plain. If we want to allow application/json, mod-invoice-storage needs to be updated.