Migrate to convertToSlipData from stripes-util - Requests

Description

Purpose:

In settings -> circulation -> staff slips we create template that contain token. When we try print this template in our modules checkin, requests, requests-mediated and etc we need match real data and token from template. For this match responsibel convertToSlipData function and supporting functions. And in each of modules checkin, requests, requests-mediated and etc we have own exemplar of convertToSlipData function and supporting functions. This mean that when we add new token in settings -> circulation -> staff slips we need update convertToSlipData function in all modules checkin, requests, requests-mediated and etc. For resolve this problem we move convertToSlipData function and supporting functions (to one please) to stripes-util for reuse for modules checkin, requests, requests-mediated and etc.

Solution:

Reuse from stripes-util.

Environment

None

Potential Workaround

None

Attachments

2
  • 19 Mar 2025, 09:32 AM
  • 18 Mar 2025, 12:54 PM

Checklist

hide

Activity

Show:

Oleksandr Hrusha last week

Checked on https://folio-etesting-sprint-fs09000000.ci.folio.org/ , works as expected

2025-03-19_11h31_35.mp4

Oleksandr Hrusha March 18, 2025 at 12:54 PM

Checked on https://folio-etesting-snapshot-diku.ci.folio.org/, works as expected

2025-03-18_14h54_17.mp4

Dmitriy Litvinenko March 18, 2025 at 9:51 AM

Available for testing on https://folio-snapshot.dev.folio.org/

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Vega

Release

Trillium (R2 2025)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created February 19, 2025 at 3:13 PM
Updated last week
Resolved last week
TestRail: Cases
TestRail: Runs

Flag notifications