Change From/To Location Tokens in Transit Slip to From/To Service Point
Description
Placeholder story for swapping out tokens so the transit slip can show which service point the item is going to/from.
Purpose: To replace the location tokens currently available in the transit slip with service point ones. What you really want to see on a transit slip is the service point from/to the item is going.
Scenarios:
Scenario
Given the Transit slip create/edit form at Settings > Circulation > Staff Slips
When the token icon is clicked ({})
Then:
the following tokens should be removed: "From location" and "To location" CB: I am not sure how these tokens are populated. Are either of them the Effective location for the item? If so, then let's keep that token and rename the it "Effective item location"
The following tokens should be added: "From service point" and "To service point" (should populate with the service point from which the item is travelling (From service point) and the service point to which the item is travelling (To service point))
Note: during testing, it looks like the correct wording is there, based on creating a little transit slip in folio-snapshot. See attached screenshot
tested in folio-snapshot. All looks good. Took a screenshot of the sample transit slip I created. Closing the ticket.
Aditya matukumalli December 3, 2018 at 5:34 PM
Sorry for the confusion. So, this story basically deals with changing the placeholder names of the tokens in the editor, whereas UICHKIN-60 actually deals with printing the transit slip at checkin with dynamic values populated.
Cate Boerema December 3, 2018 at 5:01 PM
I am unaware of anywhere else where we are already dynamically populating the token values for locations/service points. Is there anywhere we are doing this currently?
I don't think so. So do we need another story for uichkin that says that these tokens need to dynamically populate with the service point data?
Aditya matukumalli December 3, 2018 at 4:53 PM
We currently use hardcoded strings to populate the tokens in the staffslips, except the only case I am aware of is in the checkin app, where we dynamically populate the requesters barcode while printing the hold slips. So, as a part of this story, I just basically changed the names of those tokens in the staff slip editor to:
*'From Service Point': 'Circ Desk 1' 'To Service Point': 'Circ Desk 2'*
and removed the `From location` and `to location` tokens.
I am unaware of anywhere else where we are already dynamically populating the token values for locations/service points. Is there anywhere we are doing this currently?
Cate Boerema December 3, 2018 at 4:05 PM
this came up in roundup today so I quickly added a story. Aditya is working on it already so please let us know asap if this doesn't look right. Thanks!
Placeholder story for swapping out tokens so the transit slip can show which service point the item is going to/from.
Purpose: To replace the location tokens currently available in the transit slip with service point ones. What you really want to see on a transit slip is the service point from/to the item is going.
Scenarios:
Scenario
Given the Transit slip create/edit form at Settings > Circulation > Staff Slips
When the token icon is clicked ({})
Then:
the following tokens should be removed: "From location" and "To location" CB: I am not sure how these tokens are populated. Are either of them the Effective location for the item? If so, then let's keep that token and rename the it "Effective item location"
The following tokens should be added: "From service point" and "To service point" (should populate with the service point from which the item is travelling (From service point) and the service point to which the item is travelling (To service point))
Note: during testing, it looks like the correct wording is there, based on creating a little transit slip in folio-snapshot. See attached screenshot