Bug 33621: Fix claim return

To test:

1. Set the CaimReturnedLostValue system preference to one of your LOST authorised values
2. Check out an item
3. In the checkouts table, claim return
4. Notice the processing icon keeps spinning
5. Apply the patch
6. Check in the item and resolve the return claim to clear it
7. Check out an item
8. In the checkouts table, claim return
9. Confirm the checkouts table reloads and the return is claimed as expected

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-04-27 06:49:03 +02:00 committed by Tomas Cohen Arazi
parent 00629fe94f
commit 9060282c3b
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -82,8 +82,7 @@
id = "#return_claim_spinner_" + data.item_id; id = "#return_claim_spinner_" + data.item_id;
let created_on = new Date(data.created_on); let formated_date = $datetime(data.created_on);
let formated_date = $datetime(created_on);
let content = ""; let content = "";
if ( data.claim_id ) { if ( data.claim_id ) {