diff --git a/CHANGELOG.md b/CHANGELOG.md
index ba5a13a..2c72aba 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@
* Add caret to `react` peer dependency. Refs UIREQMED-23.
* Add Search field for Mediated requests activity page. Refs UIREQMED-3.
* Add Filters for Mediated requests actions page. Refs UIREQMED-4.
+* Update permission for Mediated requests. Refs UIREQMED-29.
* Implement `Create mediated request` form with basic functionality. Refs UIREQMED-27.
## 1.0.0
diff --git a/package.json b/package.json
index 7b611d3..1d742fa 100644
--- a/package.json
+++ b/package.json
@@ -91,23 +91,51 @@
"mod-settings.global.read.circulation",
"mod-settings.entries.collection.get",
"mod-settings.entries.item.get",
- "settings.requests-mediated.enabled"
+ "settings.requests-mediated.enabled",
+
+ "circulation.items-by-instance.get",
+ "circulation.loans.collection.get",
+ "circulation.requests.collection.get",
+ "circulation.requests.item.get",
+ "circulation-storage.loans.collection.get",
+ "circulation-storage.loans.item.get",
+ "circulation-storage.requests.collection.get",
+ "circulation-storage.requests.item.get",
+ "users.collection.get",
+ "users.item.get",
+ "configuration.entries.collection.get"
],
"visible": true
},
{
- "permissionName": "ui-requests-mediated.view-create",
- "displayName": "Mediated requests: View, create",
+ "permissionName": "ui-requests-mediated.view-create-edit",
+ "displayName": "Mediated requests: View, create, edit",
+ "subPermissions": [
+ "ui-requests-mediated.view",
+
+ "circulation.requests.item.post",
+ "circulation.requests.item.put",
+ "circulation.requests.allowed-service-points.get",
+ "circulation-storage.requests.item.post",
+ "circulation-storage.requests.item.put",
+ "circulation-storage.requests.item.delete",
+ "circulation-storage.request-preferences.collection.get"
+ ],
+ "visible": true
+ },
+ {
+ "permissionName": "ui-requests-mediated.view-decline",
+ "displayName": "Mediated requests: View, decline",
"subPermissions": [
"ui-requests-mediated.view"
],
"visible": true
},
{
- "permissionName": "ui-requests-mediated.view-edit-cancel",
- "displayName": "Mediated requests: View, edit, cancel",
+ "permissionName": "ui-requests-mediated.view-edit-decline",
+ "displayName": "Mediated requests: View, edit, decline",
"subPermissions": [
- "ui-requests-mediated.view-create"
+ "ui-requests-mediated.view-decline"
],
"visible": true
},
@@ -115,7 +143,8 @@
"permissionName": "ui-requests-mediated.all",
"displayName": "Mediated requests: All permissions",
"subPermissions": [
- "ui-requests-mediated.view-edit-cancel"
+ "ui-requests-mediated.view-create-edit",
+ "ui-requests-mediated.view-decline"
],
"visible": true
}
diff --git a/src/components/MediatedRequestsActivities/components/ItemsDialog/ItemsDialog.test.js b/src/components/MediatedRequestsActivities/components/ItemsDialog/ItemsDialog.test.js
index 41aa29e..efa1c17 100644
--- a/src/components/MediatedRequestsActivities/components/ItemsDialog/ItemsDialog.test.js
+++ b/src/components/MediatedRequestsActivities/components/ItemsDialog/ItemsDialog.test.js
@@ -148,7 +148,7 @@ describe('ItemsDialog', () => {
visibleColumns: COLUMN_NAMES,
columnMapping: COLUMN_MAP,
columnWidths: COLUMN_WIDTHS,
- formatter: formatter,
+ formatter,
maxHeight: MAX_HEIGHT,
onRowClick: defaultProps.onRowClick,
interactive: true,
diff --git a/src/components/MediatedRequestsActivities/components/MediatedRequestsFilters/MediatedRequestsFilters.js b/src/components/MediatedRequestsActivities/components/MediatedRequestsFilters/MediatedRequestsFilters.js
index 992ac32..daacb2b 100644
--- a/src/components/MediatedRequestsActivities/components/MediatedRequestsFilters/MediatedRequestsFilters.js
+++ b/src/components/MediatedRequestsActivities/components/MediatedRequestsFilters/MediatedRequestsFilters.js
@@ -1,3 +1,5 @@
+import PropTypes from 'prop-types';
+
import {
MediatedRequestLevelFilter,
MediatedRequestStatusFilter,
@@ -7,6 +9,7 @@ import {
import {
getIsTitleLevelRequestsFeatureEnabled,
} from '../../../../utils';
+import MediatedRequestsSettings from "../../../../settings";
const MediatedRequestsFilters = ({ settings }) => {
const isTitleLevelRequestsFeatureEnabled = getIsTitleLevelRequestsFeatureEnabled(settings);
@@ -30,4 +33,8 @@ const MediatedRequestsFilters = ({ settings }) => {
);
};
+MediatedRequestsFilters.propTypes = {
+ settings: PropTypes.object.isRequired,
+};
+
export default MediatedRequestsFilters;
diff --git a/src/components/MediatedRequestsActivities/components/RequestForm/RequestForm.js b/src/components/MediatedRequestsActivities/components/RequestForm/RequestForm.js
index ba7eb40..176b084 100644
--- a/src/components/MediatedRequestsActivities/components/RequestForm/RequestForm.js
+++ b/src/components/MediatedRequestsActivities/components/RequestForm/RequestForm.js
@@ -44,6 +44,9 @@ class RequestForm extends React.Component {
handleSubmit: PropTypes.func.isRequired,
findResource: PropTypes.func.isRequired,
request: PropTypes.object.isRequired,
+ settings: PropTypes.shape({
+ items: PropTypes.arrayOf(PropTypes.object),
+ }),
initialValues: PropTypes.object.isRequired,
location: PropTypes.shape({
search: PropTypes.string,
@@ -56,7 +59,7 @@ class RequestForm extends React.Component {
onSetSelectedInstance: PropTypes.func.isRequired,
pristine: PropTypes.bool,
submitting: PropTypes.bool,
- patronGroups: PropTypes.arrayOf(PropTypes.object), // todo ddddd
+ patronGroups: PropTypes.arrayOf(PropTypes.object),
selectedItem: PropTypes.object,
selectedInstance: PropTypes.object,
selectedUser: PropTypes.object,
@@ -73,7 +76,7 @@ class RequestForm extends React.Component {
const {
request,
settings,
- } = props;
+ } = props;
const { loan } = (request || {});
const { titleLevelRequestsFeatureEnabled } = getTlrSettings(settings?.items[0]?.value);
@@ -88,33 +91,6 @@ class RequestForm extends React.Component {
}
componentDidMount() {
- const { location } = this.props;
- const {
- userId,
- userBarcode,
- itemBarcode,
- itemId,
- instanceId,
- } = parse(location?.search);
-
- if (userBarcode) {
- this.findUser(RESOURCE_KEYS.BARCODE, userBarcode);
- } else if (userId) {
- this.findUser(RESOURCE_KEYS.ID, userId);
- }
-
- if (itemBarcode) {
- this.findItem(RESOURCE_KEYS.BARCODE, itemBarcode);
- }
-
- if (itemId) {
- this.findItem(RESOURCE_KEYS.ID, itemId);
- }
-
- if (instanceId && !itemBarcode && !itemId) {
- this.findInstance(instanceId);
- }
-
this.setTlrCheckboxInitialState();
}
@@ -124,29 +100,13 @@ class RequestForm extends React.Component {
request,
onSetSelectedItem,
onSetSelectedUser,
- location,
settings,
} = this.props;
const {
initialValues: prevInitialValues,
request: prevRequest,
- location: prevLocation,
settings: prevSettings,
} = prevProps;
- const {
- userId,
- userBarcode,
- itemBarcode,
- itemId,
- instanceId,
- } = parse(location?.search);
- const {
- userId: prevUserId,
- userBarcode: prevUserBarcode,
- itemBarcode: prevItemBarcode,
- itemId: prevItemId,
- instanceId: prevInstanceId,
- } = parse(prevLocation?.search);
const newSettings = settings?.items[0]?.value;
if (
@@ -160,27 +120,6 @@ class RequestForm extends React.Component {
this.setState({ selectedLoan: request.loan });
}
- if (prevUserBarcode !== userBarcode) {
- this.findUser(RESOURCE_KEYS.BARCODE, userBarcode);
- }
-
- if (prevUserId !== userId) {
- this.findUser(RESOURCE_KEYS.ID, userId);
- }
-
- if (prevItemBarcode !== itemBarcode) {
- this.findItem(RESOURCE_KEYS.BARCODE, itemBarcode);
- }
-
- if (prevItemId !== itemId) {
- this.findItem(RESOURCE_KEYS.ID, itemId);
- }
-
- if (prevInstanceId !== instanceId) {
- this.findInstance(instanceId);
- this.setTlrCheckboxInitialState();
- }
-
if (prevSettings?.items[0]?.value !== newSettings) {
const { titleLevelRequestsFeatureEnabled } = getTlrSettings(newSettings);
@@ -512,7 +451,7 @@ class RequestForm extends React.Component {
const { onCancel } = this.props;
const keepEditBtn = document.getElementById('clickable-cancel-editing-confirmation-confirm');
- if (isItemsDialogOpen){
+ if (isItemsDialogOpen) {
handleKeyCommand(this.handleItemsDialogClose);
} else if (keepEditBtn) {
keepEditBtn.click();
diff --git a/src/components/MediatedRequestsActivities/components/RequestForm/RequestForm.test.js b/src/components/MediatedRequestsActivities/components/RequestForm/RequestForm.test.js
index c5bfe16..1c78a3a 100644
--- a/src/components/MediatedRequestsActivities/components/RequestForm/RequestForm.test.js
+++ b/src/components/MediatedRequestsActivities/components/RequestForm/RequestForm.test.js
@@ -1,9 +1,16 @@
import {
+ fireEvent,
render,
screen,
+ waitFor,
} from '@folio/jest-config-stripes/testing-library/react';
import RequestForm from './RequestForm';
+import {
+ REQUEST_FORM_FIELD_NAMES,
+ RESOURCE_KEYS,
+ RESOURCE_TYPES,
+} from '../../../../constants';
const basicProps = {
handleSubmit: jest.fn(),
@@ -33,15 +40,57 @@ const basicProps = {
const labelIds = {
itemAccordion: 'ui-requests-mediated.form.item.accordionLabel',
};
+const testIds = {
+ findItem: 'findItem',
+ findInstance: 'findInstance',
+};
+const itemBarcode = 'itemBarcode';
+const instanceId = 'instanceId';
jest.mock('@folio/stripes/final-form', () => () => jest.fn((component) => component));
jest.mock('../RequestFormShortcutsWrapper', () => jest.fn(({ children }) =>
{children}
));
-jest.mock('../RequestFormFirstMenu', () => jest.fn(() => ));
-jest.mock('../RequestFormFooter', () => jest.fn(() => ));
-jest.mock('../ItemInformation', () => jest.fn(() => ));
-jest.mock('../InstanceInformation', () => jest.fn(() => ));
-jest.mock('../RequesterInformation', () => jest.fn(() => ));
-jest.mock('../ItemsDialog', () => jest.fn(() => ));
+jest.mock('../RequestFormFirstMenu', () => jest.fn(() => ));
+jest.mock('../RequestFormFooter', () => jest.fn(() => ));
+jest.mock('../ItemInformation', () => jest.fn(({
+ findItem,
+}) => {
+ const onFindItem = () => {
+ findItem('barcode', itemBarcode);
+ };
+
+ return (
+ <>
+
+ >
+ );
+}));
+jest.mock('../InstanceInformation', () => jest.fn(({
+ findInstance,
+}) => {
+ const onFindInstance = () => {
+ findInstance(instanceId);
+ };
+
+ return (
+ <>
+
+ >
+ );
+}));
+jest.mock('../RequesterInformation', () => jest.fn(() => ));
+jest.mock('../ItemsDialog', () => jest.fn(() => ));
jest.mock('../../../../utils', () => ({
getTlrSettings: jest.fn(() => ({
titleLevelRequestsFeatureEnabled: true,
@@ -52,6 +101,9 @@ jest.mock('../../../../utils', () => ({
}));
describe('RequestForm', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
describe('Initial render', () => {
beforeEach(() => {
@@ -68,4 +120,245 @@ describe('RequestForm', () => {
expect(accordionLabel).toBeInTheDocument();
});
});
+
+ describe('ItemInformation', () => {
+ describe('When item data exists', () => {
+ const foundItem = {
+ items: [
+ {
+ id: 'itemId',
+ barcode: 'itemBarcode',
+ }
+ ],
+ };
+ const foundLoan = {
+ loans: [],
+ };
+ const foundRequests = {
+ requests: [],
+ };
+
+ beforeEach(() => {
+ render(
+
+ );
+
+ const findItemButton = screen.getByTestId(testIds.findItem);
+
+ basicProps.findResource
+ .mockResolvedValueOnce(foundItem)
+ .mockResolvedValueOnce(foundLoan)
+ .mockResolvedValueOnce(foundRequests);
+ fireEvent.click(findItemButton);
+ });
+
+ it('should find item', () => {
+ const expectedArgs = [RESOURCE_TYPES.ITEM, itemBarcode, RESOURCE_KEYS.BARCODE];
+
+ expect(basicProps.findResource).toHaveBeenCalledWith(...expectedArgs);
+ });
+
+ it('should set item id form value', () => {
+ const expectedArgs = [REQUEST_FORM_FIELD_NAMES.ITEM_ID, foundItem.items[0].id];
+
+ expect(basicProps.form.change).toHaveBeenCalledWith(...expectedArgs);
+ });
+
+ it('should set item barcode form value', () => {
+ const expectedArgs = [REQUEST_FORM_FIELD_NAMES.ITEM_BARCODE, foundItem.items[0].barcode];
+
+ expect(basicProps.form.change).toHaveBeenCalledWith(...expectedArgs);
+ });
+
+ it('should set selected item', () => {
+ expect(basicProps.onSetSelectedItem).toHaveBeenCalledWith(foundItem.items[0]);
+ });
+
+ it('should find related loans', () => {
+ const expectedArgs = [RESOURCE_TYPES.LOAN, foundItem.items[0].id];
+
+ expect(basicProps.findResource).toHaveBeenCalledWith(...expectedArgs);
+ });
+
+ it('should find item requests', () => {
+ const expectedArgs = [RESOURCE_TYPES.REQUESTS_FOR_ITEM, foundItem.items[0].id];
+
+ expect(basicProps.findResource).toHaveBeenCalledWith(...expectedArgs);
+ });
+ });
+
+ describe('When item data does not exist', () => {
+ const foundItem = {
+ items: [],
+ };
+
+ beforeEach(() => {
+ render(
+
+ );
+
+ const findItemButton = screen.getByTestId(testIds.findItem);
+
+ basicProps.findResource.mockResolvedValueOnce(foundItem);
+ fireEvent.click(findItemButton);
+ });
+
+ it('should not set item id form value', async () => {
+ const expectedArgs = [REQUEST_FORM_FIELD_NAMES.ITEM_ID, expect.any(String)];
+
+ await waitFor(() => {
+ expect(basicProps.form.change).not.toHaveBeenCalledWith(...expectedArgs);
+ });
+ });
+
+ it('should not set item barcode form value', async () => {
+ const expectedArgs = [REQUEST_FORM_FIELD_NAMES.ITEM_BARCODE, expect.any(String)];
+
+ await waitFor(() => {
+ expect(basicProps.form.change).not.toHaveBeenCalledWith(...expectedArgs);
+ });
+ });
+ });
+
+ describe('When item data request throws error', () => {
+ beforeEach(() => {
+ render(
+
+ );
+
+ const findItemButton = screen.getByTestId(testIds.findItem);
+
+ basicProps.findResource.mockRejectedValueOnce({});
+ fireEvent.click(findItemButton);
+ });
+
+ it('should set selected item to null', async () => {
+ await waitFor(() => {
+ expect(basicProps.onSetSelectedItem).toHaveBeenCalledWith(null);
+ });
+ });
+ });
+ });
+
+ describe('InstanceInformation', () => {
+ const props = {
+ ...basicProps,
+ values: {
+ createTitleLevelRequest: true,
+ },
+ };
+
+ describe('When instance data exists', () => {
+ const foundInstance = {
+ id: instanceId,
+ hrid: 'hrid',
+ };
+ const foundRequests = {
+ requests: [],
+ };
+
+ beforeEach(() => {
+ render(
+
+ );
+
+ const findInstanceButton = screen.getByTestId(testIds.findInstance);
+
+ basicProps.findResource
+ .mockResolvedValueOnce(foundInstance)
+ .mockResolvedValueOnce(foundRequests);
+ fireEvent.click(findInstanceButton);
+ });
+
+ it('should find instance', () => {
+ const expectedArgs = [RESOURCE_TYPES.INSTANCE, instanceId];
+
+ expect(basicProps.findResource).toHaveBeenCalledWith(...expectedArgs);
+ });
+
+ it('should set instance id form value', () => {
+ const expectedArgs = [REQUEST_FORM_FIELD_NAMES.INSTANCE_ID, foundInstance.id];
+
+ expect(basicProps.form.change).toHaveBeenCalledWith(...expectedArgs);
+ });
+
+ it('should set instance hrid form value', () => {
+ const expectedArgs = [REQUEST_FORM_FIELD_NAMES.INSTANCE_HRID, foundInstance.hrid];
+
+ expect(basicProps.form.change).toHaveBeenCalledWith(...expectedArgs);
+ });
+
+ it('should set selected instance', () => {
+ expect(basicProps.onSetSelectedInstance).toHaveBeenCalledWith(foundInstance);
+ });
+
+ it('should find instance requests', () => {
+ const expectedArgs = [RESOURCE_TYPES.REQUESTS_FOR_INSTANCE, foundInstance.id];
+
+ expect(basicProps.findResource).toHaveBeenCalledWith(...expectedArgs);
+ });
+ });
+
+ describe('When instance data does not exist', () => {
+ const foundInstance = {};
+
+ beforeEach(() => {
+ render(
+
+ );
+
+ const findInstanceButton = screen.getByTestId(testIds.findInstance);
+
+ basicProps.findResource.mockResolvedValueOnce(foundInstance);
+ fireEvent.click(findInstanceButton);
+ });
+
+ it('should not set instance id form value', async () => {
+ const expectedArgs = [REQUEST_FORM_FIELD_NAMES.INSTANCE_ID, expect.any(String)];
+
+ await waitFor(() => {
+ expect(basicProps.form.change).not.toHaveBeenCalledWith(...expectedArgs);
+ });
+ });
+
+ it('should not set instance hrid form value', async () => {
+ const expectedArgs = [REQUEST_FORM_FIELD_NAMES.INSTANCE_HRID, expect.any(String)];
+
+ await waitFor(() => {
+ expect(basicProps.form.change).not.toHaveBeenCalledWith(...expectedArgs);
+ });
+ });
+ });
+
+ describe('When instance data request throws error', () => {
+ beforeEach(() => {
+ render(
+
+ );
+
+ const findInstanceButton = screen.getByTestId(testIds.findInstance);
+
+ basicProps.findResource.mockRejectedValueOnce({});
+ fireEvent.click(findInstanceButton);
+ });
+
+ it('should set selected instance to null', async () => {
+ await waitFor(() => {
+ expect(basicProps.onSetSelectedInstance).toHaveBeenCalledWith(null);
+ });
+ });
+ });
+ });
});
diff --git a/src/components/MediatedRequestsActivities/components/RequestFormFirstMenu/RequestFormFirstMenu.js b/src/components/MediatedRequestsActivities/components/RequestFormFirstMenu/RequestFormFirstMenu.js
index 0e5de52..1702185 100644
--- a/src/components/MediatedRequestsActivities/components/RequestFormFirstMenu/RequestFormFirstMenu.js
+++ b/src/components/MediatedRequestsActivities/components/RequestFormFirstMenu/RequestFormFirstMenu.js
@@ -1,4 +1,4 @@
-import { FormattedMessage } from 'react-intl';
+import PropTypes from 'prop-types';
import {
PaneHeaderIconButton,
@@ -10,17 +10,16 @@ import { ICON_TYPES } from '../../../../constants';
const RequestFormFirstMenu = ({ onCancel }) => {
return (
-
- {title => (
-
- )}
-
+
);
};
+RequestFormFirstMenu.propTypes = {
+ onCancel: PropTypes.func.isRequired,
+};
+
export default RequestFormFirstMenu;
diff --git a/src/components/MediatedRequestsActivities/components/RequestFormFirstMenu/RequestFormFirstMenu.test.js b/src/components/MediatedRequestsActivities/components/RequestFormFirstMenu/RequestFormFirstMenu.test.js
index 143f859..4e3167f 100644
--- a/src/components/MediatedRequestsActivities/components/RequestFormFirstMenu/RequestFormFirstMenu.test.js
+++ b/src/components/MediatedRequestsActivities/components/RequestFormFirstMenu/RequestFormFirstMenu.test.js
@@ -7,9 +7,6 @@ import { ICON_TYPES } from '../../../../constants';
const defaultProps = {
onCancel: jest.fn(),
};
-const labelIds = {
- closeRequest: 'ui-requests-mediated.form.closeRequest',
-};
describe('RequestFormFirstMenu', () => {
beforeEach(() => {
@@ -23,7 +20,6 @@ describe('RequestFormFirstMenu', () => {
it('should trigger PaneHeaderIconButton with correct props', () => {
const expectedProps = {
onClick: defaultProps.onCancel,
- ariaLabel: labelIds.closeRequest,
icon: ICON_TYPES.TIMES,
};
diff --git a/src/components/MediatedRequestsActivities/components/RequestFormFooter/RequestFormFooter.js b/src/components/MediatedRequestsActivities/components/RequestFormFooter/RequestFormFooter.js
index a70d84c..33cc47e 100644
--- a/src/components/MediatedRequestsActivities/components/RequestFormFooter/RequestFormFooter.js
+++ b/src/components/MediatedRequestsActivities/components/RequestFormFooter/RequestFormFooter.js
@@ -1,4 +1,5 @@
import { FormattedMessage } from 'react-intl';
+import PropTypes from 'prop-types';
import {
Button,
@@ -44,4 +45,10 @@ const RequestFormFooter = ({
);
};
+RequestFormFooter.propTypes = {
+ onCancel: PropTypes.func.isRequired,
+ isSubmittingDisabled: PropTypes.bool.isRequired,
+ footerClass: PropTypes.string.isRequired,
+};
+
export default RequestFormFooter;
diff --git a/src/components/MediatedRequestsActivities/components/UserHighlightBox/UserHighlightBox.js b/src/components/MediatedRequestsActivities/components/UserHighlightBox/UserHighlightBox.js
index b1cf184..d0584b8 100644
--- a/src/components/MediatedRequestsActivities/components/UserHighlightBox/UserHighlightBox.js
+++ b/src/components/MediatedRequestsActivities/components/UserHighlightBox/UserHighlightBox.js
@@ -1,5 +1,6 @@
import { FormattedMessage } from 'react-intl';
import { Link } from 'react-router-dom';
+import PropTypes from 'prop-types';
import {
Col,
@@ -45,4 +46,11 @@ const UserHighlightBox = ({
);
};
+UserHighlightBox.propTypes = {
+ title: PropTypes.string.isRequired,
+ name: PropTypes.string.isRequired,
+ id: PropTypes.string.isRequired,
+ barcode: PropTypes.string.isRequired,
+};
+
export default UserHighlightBox;
diff --git a/src/hooks/useCirculationRequests/index.js b/src/hooks/useCirculationRequests/index.js
new file mode 100644
index 0000000..042e7b4
--- /dev/null
+++ b/src/hooks/useCirculationRequests/index.js
@@ -0,0 +1 @@
+export { default } from './useCirculationRequests';
diff --git a/src/hooks/useCirculationRequests.js b/src/hooks/useCirculationRequests/useCirculationRequests.js
similarity index 91%
rename from src/hooks/useCirculationRequests.js
rename to src/hooks/useCirculationRequests/useCirculationRequests.js
index bec3a89..5d5acd2 100644
--- a/src/hooks/useCirculationRequests.js
+++ b/src/hooks/useCirculationRequests/useCirculationRequests.js
@@ -9,8 +9,8 @@ import {
import {
MAX_RECORDS,
OPEN_REQUESTS_STATUSES,
-} from '../constants';
-import { getStatusQuery } from '../utils';
+} from '../../constants';
+import { getStatusQuery } from '../../utils';
const CHUNK_SIZE = 40;
@@ -30,7 +30,7 @@ export const getRequests = async (ky, instanceId) => {
let query = itemChunk.map(i => `itemId==${i.id}`).join(' or ');
const statusQuery = getStatusQuery(OPEN_REQUESTS_STATUSES);
- query = `(${query}) and (${statusQuery})")`;
+ query = `(${query}) and (${statusQuery})`;
const searchParams = {
query,
@@ -63,10 +63,10 @@ const useCirculationRequests = (instanceId, open) => {
{ enabled: Boolean(instanceId && open) },
);
- return ({
+ return {
isFetching,
data,
- });
+ };
};
export default useCirculationRequests;
diff --git a/src/hooks/useCirculationRequests/useCirculationRequests.test.js b/src/hooks/useCirculationRequests/useCirculationRequests.test.js
new file mode 100644
index 0000000..7ebfa00
--- /dev/null
+++ b/src/hooks/useCirculationRequests/useCirculationRequests.test.js
@@ -0,0 +1,72 @@
+import { waitFor } from '@folio/jest-config-stripes/testing-library/react';
+
+import {
+ getItems,
+ getRequests,
+} from './useCirculationRequests';
+import { MAX_RECORDS } from '../../constants';
+
+jest.mock('../../utils', () => ({
+ getStatusQuery: jest.fn(() => 'status'),
+}));
+
+describe('useCirculationRequests', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ describe('getItems', () => {
+ const instanceId = 'instanceId';
+ const get = jest.fn(() => ({ json: jest.fn() }));
+ const ky = { get };
+
+ it('should trigger ky.get with correct arguments', () => {
+ const expectedArgs = [
+ 'circulation/items-by-instance',
+ {
+ searchParams: {
+ query: `id==${instanceId}`,
+ }
+ }
+ ];
+
+ getItems(ky, instanceId);
+
+ expect(get).toHaveBeenCalledWith(...expectedArgs);
+ });
+ });
+
+ describe('getRequests', () => {
+ const instanceId = 'instanceId';
+ const get = jest.fn()
+ .mockImplementationOnce(() => ({
+ json: () => ({
+ items: [{ id: 'itemId' }],
+ })
+ }))
+ .mockImplementationOnce(() => ({
+ json: () => ({
+ requests: [],
+ })
+ }));
+ const ky = { get };
+
+ it('should trigger ky.get with correct arguments', async () => {
+ const expectedArgs = [
+ 'circulation/requests',
+ {
+ searchParams: {
+ query: `(itemId==itemId) and (status)`,
+ limit: MAX_RECORDS,
+ }
+ }
+ ];
+
+ getRequests(ky, instanceId);
+
+ await waitFor(() => {
+ expect(get).toHaveBeenCalledWith(...expectedArgs);
+ });
+ });
+ });
+});
diff --git a/src/hooks/usePatronGroups/index.js b/src/hooks/usePatronGroups/index.js
new file mode 100644
index 0000000..de49399
--- /dev/null
+++ b/src/hooks/usePatronGroups/index.js
@@ -0,0 +1 @@
+export { default } from './usePatronGroups';
diff --git a/src/hooks/usePatronGroups.js b/src/hooks/usePatronGroups/usePatronGroups.js
similarity index 84%
rename from src/hooks/usePatronGroups.js
rename to src/hooks/usePatronGroups/usePatronGroups.js
index d97ddc4..5b3aa5c 100644
--- a/src/hooks/usePatronGroups.js
+++ b/src/hooks/usePatronGroups/usePatronGroups.js
@@ -5,7 +5,7 @@ import {
useOkapiKy,
} from '@folio/stripes/core';
-import { MAX_RECORDS } from '../constants';
+import { MAX_RECORDS } from '../../constants';
const usePatronGroups = () => {
const ky = useOkapiKy();
@@ -20,7 +20,7 @@ const usePatronGroups = () => {
{ enabled: true },
);
- return ({ patronGroups: data?.usergroups });
+ return { patronGroups: data };
};
export default usePatronGroups;
diff --git a/src/hooks/usePatronGroups/usePatronGroups.test.js b/src/hooks/usePatronGroups/usePatronGroups.test.js
new file mode 100644
index 0000000..1dfba61
--- /dev/null
+++ b/src/hooks/usePatronGroups/usePatronGroups.test.js
@@ -0,0 +1,41 @@
+import {
+ QueryClient,
+ QueryClientProvider,
+} from 'react-query';
+
+import {
+ renderHook,
+ waitFor,
+} from '@folio/jest-config-stripes/testing-library/react';
+import { useOkapiKy } from '@folio/stripes/core';
+
+import usePatronGroups from './usePatronGroups';
+
+const queryClient = new QueryClient();
+
+// eslint-disable-next-line react/prop-types
+const wrapper = ({ children }) => (
+
+ {children}
+
+);
+
+const data = {
+ usergroups: ['test'],
+};
+
+describe('usePatronGroups', () => {
+ it('should fetch data', async () => {
+ useOkapiKy.mockClear().mockReturnValue({
+ get: () => ({
+ json: () => ({ data }),
+ }),
+ });
+
+ const { result } = renderHook(() => usePatronGroups(), { wrapper });
+
+ await waitFor(() => {
+ expect(result.current.patronGroups.data).toEqual(data);
+ })
+ });
+});
diff --git a/src/index.js b/src/index.js
index 0331677..a3c8317 100644
--- a/src/index.js
+++ b/src/index.js
@@ -6,6 +6,7 @@ import {
Route,
Switch,
Redirect,
+ useStripes,
} from '@folio/stripes/core';
import ConfirmItemArrival from './components/ConfirmItemArrival';
@@ -25,6 +26,8 @@ import {
} from './hooks';
const RequestsMediated = (props) => {
+ const stripes = useStripes();
+
if (props.showSettings) {
return ;
}
@@ -36,15 +39,19 @@ const RequestsMediated = (props) => {
path,
},
} = props;
+ const isRequestCreationAvailable = stripes.hasPerm('ui-requests-mediated.all') || stripes.hasPerm('ui-requests-mediated.view-create-edit');
return (
-
-
-
+ {
+ isRequestCreationAvailable &&
+
+
+
+ }
diff --git a/src/utils.js b/src/utils.js
index 93ea8b6..dc8b4b9 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -95,7 +95,7 @@ export const getPatronGroup = (patron, patronGroups) => {
export const isSubmittingButtonDisabled = (pristine, submitting) => pristine || submitting;
const isYear = (value) => {
- const YEAR_REGEX = /^([1-9][0-9]{0,3})$/;
+ const YEAR_REGEX = /^([1-9]\d{0,3})$/;
return YEAR_REGEX.test(value);
}
diff --git a/translations/ui-requests-mediated/ar.json b/translations/ui-requests-mediated/ar.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/ar.json
+++ b/translations/ui-requests-mediated/ar.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/ber.json b/translations/ui-requests-mediated/ber.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/ber.json
+++ b/translations/ui-requests-mediated/ber.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/ca.json b/translations/ui-requests-mediated/ca.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/ca.json
+++ b/translations/ui-requests-mediated/ca.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/cs_CZ.json b/translations/ui-requests-mediated/cs_CZ.json
index e35360d..1bcfec1 100644
--- a/translations/ui-requests-mediated/cs_CZ.json
+++ b/translations/ui-requests-mediated/cs_CZ.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Odeslat jednotku v přepravě",
"app.confirmItemArrival.paneTitle": "Potvrdit příchod jednotky",
"app.mediatedRequestsActivities.paneTitle": "Zprostředkované žádanky",
- "app.sendItemInTransit.paneTitle": "Odeslat jednotku v přepravě"
+ "app.sendItemInTransit.paneTitle": "Odeslat jednotku v přepravě",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Uzavřená - Vyřízená",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Jednotka",
+ "filters.mediatedRequestLevel.title": "Název"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/da.json b/translations/ui-requests-mediated/da.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/da.json
+++ b/translations/ui-requests-mediated/da.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/de.json b/translations/ui-requests-mediated/de.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/de.json
+++ b/translations/ui-requests-mediated/de.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/en.json b/translations/ui-requests-mediated/en.json
index 19d1623..282e4a1 100644
--- a/translations/ui-requests-mediated/en.json
+++ b/translations/ui-requests-mediated/en.json
@@ -2,8 +2,9 @@
"meta.title": "Mediated requests",
"permission.view": "Mediated requests: View",
- "permission.view-create": "Mediated requests: View, create",
- "permission.view-create-edit": "Mediated requests: View, edit, cancel",
+ "permission.view-create-edit": "Mediated requests: View, create, edit",
+ "permission.view-decline": "Mediated requests: View, decline",
+ "permission.view-edit-decline": "Mediated requests: View, edit, decline",
"permission.all": "Mediated requests: All permissions",
"app.filterPane.selectActivity": "Select activity",
@@ -34,7 +35,6 @@
"form.title": "New mediated request",
"form.tlrCheckboxLabel": "Create title level request",
- "form.closeRequest": "Close New Request",
"form.enterButton": "Enter",
"form.cancelButton": "Cancel",
"form.confirmButton": "Confirm",
diff --git a/translations/ui-requests-mediated/en_GB.json b/translations/ui-requests-mediated/en_GB.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/en_GB.json
+++ b/translations/ui-requests-mediated/en_GB.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/en_SE.json b/translations/ui-requests-mediated/en_SE.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/en_SE.json
+++ b/translations/ui-requests-mediated/en_SE.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/en_US.json b/translations/ui-requests-mediated/en_US.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/en_US.json
+++ b/translations/ui-requests-mediated/en_US.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/es.json b/translations/ui-requests-mediated/es.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/es.json
+++ b/translations/ui-requests-mediated/es.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/es_419.json b/translations/ui-requests-mediated/es_419.json
index c98b26e..1c9c48d 100644
--- a/translations/ui-requests-mediated/es_419.json
+++ b/translations/ui-requests-mediated/es_419.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Enviar item a transito",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Enviar item a transito\n"
+ "app.sendItemInTransit.paneTitle": "Enviar item a transito\n",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/es_ES.json b/translations/ui-requests-mediated/es_ES.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/es_ES.json
+++ b/translations/ui-requests-mediated/es_ES.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/fr.json b/translations/ui-requests-mediated/fr.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/fr.json
+++ b/translations/ui-requests-mediated/fr.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/fr_FR.json b/translations/ui-requests-mediated/fr_FR.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/fr_FR.json
+++ b/translations/ui-requests-mediated/fr_FR.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/he.json b/translations/ui-requests-mediated/he.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/he.json
+++ b/translations/ui-requests-mediated/he.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/hi_IN.json b/translations/ui-requests-mediated/hi_IN.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/hi_IN.json
+++ b/translations/ui-requests-mediated/hi_IN.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/hu.json b/translations/ui-requests-mediated/hu.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/hu.json
+++ b/translations/ui-requests-mediated/hu.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/it_IT.json b/translations/ui-requests-mediated/it_IT.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/it_IT.json
+++ b/translations/ui-requests-mediated/it_IT.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/ja.json b/translations/ui-requests-mediated/ja.json
index a0bd568..c6b7b1a 100644
--- a/translations/ui-requests-mediated/ja.json
+++ b/translations/ui-requests-mediated/ja.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/ko.json b/translations/ui-requests-mediated/ko.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/ko.json
+++ b/translations/ui-requests-mediated/ko.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/nb.json b/translations/ui-requests-mediated/nb.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/nb.json
+++ b/translations/ui-requests-mediated/nb.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/nl.json b/translations/ui-requests-mediated/nl.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/nl.json
+++ b/translations/ui-requests-mediated/nl.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/nn.json b/translations/ui-requests-mediated/nn.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/nn.json
+++ b/translations/ui-requests-mediated/nn.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/pl.json b/translations/ui-requests-mediated/pl.json
index 524d152..cdbfca2 100644
--- a/translations/ui-requests-mediated/pl.json
+++ b/translations/ui-requests-mediated/pl.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Potwierdź przybycie egzemplarza",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/pt_BR.json b/translations/ui-requests-mediated/pt_BR.json
index 2f58941..06d4130 100644
--- a/translations/ui-requests-mediated/pt_BR.json
+++ b/translations/ui-requests-mediated/pt_BR.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Enviar item em trânsito",
"app.confirmItemArrival.paneTitle": "Confirmar a chegada do item",
"app.mediatedRequestsActivities.paneTitle": "Solicitações mediadas",
- "app.sendItemInTransit.paneTitle": "Enviar item em trânsito"
+ "app.sendItemInTransit.paneTitle": "Enviar item em trânsito",
+ "filters.mediatedRequestStatus.accordionTitle": "Status da solicitação mediada",
+ "filters.mediatedRequestStatus.closedDeclined": "Fechado - Recusado",
+ "filters.mediatedRequestStatus.closedFilled": "Fechado - Completo",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "Novo - Aguardando confirmação",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Aberto - Aguardando retirada",
+ "filters.mediatedRequestStatus.openInProgress": "Aberto - Em andamento",
+ "filters.mediatedRequestStatus.openInTransit": "Aberto - Em trânsito",
+ "filters.mediatedRequestStatus.openItemArrived": "Aberto - Item chegou",
+ "filters.mediatedRequestLevel.accordionTitle": "Nível de solicitação mediada",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Título"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/pt_PT.json b/translations/ui-requests-mediated/pt_PT.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/pt_PT.json
+++ b/translations/ui-requests-mediated/pt_PT.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/ru.json b/translations/ui-requests-mediated/ru.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/ru.json
+++ b/translations/ui-requests-mediated/ru.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/sk.json b/translations/ui-requests-mediated/sk.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/sk.json
+++ b/translations/ui-requests-mediated/sk.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/sv.json b/translations/ui-requests-mediated/sv.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/sv.json
+++ b/translations/ui-requests-mediated/sv.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/ur.json b/translations/ui-requests-mediated/ur.json
index 59ecf65..9ec505c 100644
--- a/translations/ui-requests-mediated/ur.json
+++ b/translations/ui-requests-mediated/ur.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "Send item in transit",
"app.confirmItemArrival.paneTitle": "Confirm item arrival",
"app.mediatedRequestsActivities.paneTitle": "Mediated requests",
- "app.sendItemInTransit.paneTitle": "Send item in transit"
+ "app.sendItemInTransit.paneTitle": "Send item in transit",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/zh_CN.json b/translations/ui-requests-mediated/zh_CN.json
index fe03298..266e0eb 100644
--- a/translations/ui-requests-mediated/zh_CN.json
+++ b/translations/ui-requests-mediated/zh_CN.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "发送转运中单件",
"app.confirmItemArrival.paneTitle": "确认单件到达",
"app.mediatedRequestsActivities.paneTitle": "中介请求",
- "app.sendItemInTransit.paneTitle": "发送转运中单件"
+ "app.sendItemInTransit.paneTitle": "发送转运中单件",
+ "filters.mediatedRequestStatus.accordionTitle": "中介请求状态",
+ "filters.mediatedRequestStatus.closedDeclined": "已关闭 - 已拒绝",
+ "filters.mediatedRequestStatus.closedFilled": "已关闭 - 已满足",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "新建 - 等待确认",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "开放 - 等待取件",
+ "filters.mediatedRequestStatus.openInProgress": "开放 - 进行中",
+ "filters.mediatedRequestStatus.openInTransit": "开放 - 转运中",
+ "filters.mediatedRequestStatus.openItemArrived": "开放 - 单件已抵达",
+ "filters.mediatedRequestLevel.accordionTitle": "中介请求级别",
+ "filters.mediatedRequestLevel.item": "单件",
+ "filters.mediatedRequestLevel.title": "题名"
}
\ No newline at end of file
diff --git a/translations/ui-requests-mediated/zh_TW.json b/translations/ui-requests-mediated/zh_TW.json
index 7b1adfd..1c6f474 100644
--- a/translations/ui-requests-mediated/zh_TW.json
+++ b/translations/ui-requests-mediated/zh_TW.json
@@ -13,5 +13,16 @@
"app.sendItemInTransit.navigation": "寄出館藏傳送中",
"app.confirmItemArrival.paneTitle": "確認館藏到館",
"app.mediatedRequestsActivities.paneTitle": "預約請求",
- "app.sendItemInTransit.paneTitle": "寄出館藏傳送中"
+ "app.sendItemInTransit.paneTitle": "寄出館藏傳送中",
+ "filters.mediatedRequestStatus.accordionTitle": "Mediated request status",
+ "filters.mediatedRequestStatus.closedDeclined": "Closed - Declined",
+ "filters.mediatedRequestStatus.closedFilled": "Closed - Filled",
+ "filters.mediatedRequestStatus.newAwaitingConfirmation": "New - Awaiting confirmation",
+ "filters.mediatedRequestStatus.openAwaitingPickup": "Open - Awaiting pickup",
+ "filters.mediatedRequestStatus.openInProgress": "Open - In progress",
+ "filters.mediatedRequestStatus.openInTransit": "Open - In transits",
+ "filters.mediatedRequestStatus.openItemArrived": "Open - Item arrived",
+ "filters.mediatedRequestLevel.accordionTitle": "Mediated request level",
+ "filters.mediatedRequestLevel.item": "Item",
+ "filters.mediatedRequestLevel.title": "Title"
}
\ No newline at end of file