From 7a1def3b3ced92f2f4f2957dd17adb3abbcfcfc9 Mon Sep 17 00:00:00 2001 From: Azizbek <113523904+azizbekxm@users.noreply.github.com> Date: Thu, 19 Oct 2023 21:00:14 +0500 Subject: [PATCH] [MODORDERS-944/MODORDERS-948/MODFIN-333] BE - Added donor info to Fund and POL and receiving statuses for piece --- mod-finance/examples/fund.sample | 4 ++++ mod-orders-storage/examples/piece_collection.sample | 4 ++-- mod-orders-storage/examples/piece_post.sample | 2 +- mod-orders-storage/examples/po_line_collection.sample | 4 ++++ mod-orders-storage/examples/po_line_get.sample | 4 ++++ mod-orders-storage/examples/po_line_post.sample | 4 ++++ mod-orders/examples/composite_po_line.sample | 4 ++++ 7 files changed, 23 insertions(+), 3 deletions(-) diff --git a/mod-finance/examples/fund.sample b/mod-finance/examples/fund.sample index 647278f7..c9046499 100644 --- a/mod-finance/examples/fund.sample +++ b/mod-finance/examples/fund.sample @@ -18,6 +18,10 @@ "1895e539-8dac-441e-b1f5-aab62b3fde60", "47f504bd-0c1b-498e-a2ae-e2f0a0cea273" ], + "donorOrganizationIds": [ + "d926d900-e27d-46d6-bba8-31e9d5c2cf44", + "077274ad-6b4f-4c28-9779-6d381e7a1ca1" + ], "tags": { "tagList": [ "tag" diff --git a/mod-orders-storage/examples/piece_collection.sample b/mod-orders-storage/examples/piece_collection.sample index 6ccee53d..b7268c4e 100644 --- a/mod-orders-storage/examples/piece_collection.sample +++ b/mod-orders-storage/examples/piece_collection.sample @@ -16,7 +16,7 @@ "discoverySuppress": false, "copyNumber": "175143", "receiptDate": "2020-01-10T00:00:00.000Z", - "receivingStatus": "Expected", + "receivingStatus": "Unreceivable", "supplement": true }, { @@ -51,7 +51,7 @@ "chronology": "2022", "discoverySuppress": true, "copyNumber": "108572", - "receivingStatus": "Received", + "receivingStatus": "Late", "supplement": true, "receiptDate": "2018-10-11T00:00:00.000Z", "receivedDate": "2018-10-10T00:00:00.000Z" diff --git a/mod-orders-storage/examples/piece_post.sample b/mod-orders-storage/examples/piece_post.sample index 5fa04d3b..fba2f931 100644 --- a/mod-orders-storage/examples/piece_post.sample +++ b/mod-orders-storage/examples/piece_post.sample @@ -11,7 +11,7 @@ "chronology": "2021", "discoverySuppress": false, "copyNumber": "94753", - "receivingStatus": "Expected", + "receivingStatus": "Claim delayed", "supplement": true, "receiptDate": "2018-10-11T00:00:00.000Z" } diff --git a/mod-orders-storage/examples/po_line_collection.sample b/mod-orders-storage/examples/po_line_collection.sample index 346a8a08..033a4c63 100644 --- a/mod-orders-storage/examples/po_line_collection.sample +++ b/mod-orders-storage/examples/po_line_collection.sample @@ -52,6 +52,10 @@ "subscriptionTo": "2020-10-09T00:00:00.000Z" }, "donor": "ABCDEFGHIJKLM", + "donorOrganizationIds": [ + "d926d900-e27d-46d6-bba8-31e9d5c2cf44", + "077274ad-6b4f-4c28-9779-6d381e7a1ca1" + ], "eresource": { "accessProvider": "ba3f3d45-247d-41f6-8dc9-6488adcad329", "activated": false, diff --git a/mod-orders-storage/examples/po_line_get.sample b/mod-orders-storage/examples/po_line_get.sample index 00836a05..b432696d 100644 --- a/mod-orders-storage/examples/po_line_get.sample +++ b/mod-orders-storage/examples/po_line_get.sample @@ -53,6 +53,10 @@ "subscriptionTo": "2020-10-09T00:00:00.000Z" }, "donor": "ABCDEFGHIJKLM", + "donorOrganizationIds": [ + "d926d900-e27d-46d6-bba8-31e9d5c2cf44", + "077274ad-6b4f-4c28-9779-6d381e7a1ca1" + ], "eresource": { "accessProvider": "ba3f3d45-247d-41f6-8dc9-6488adcad329", "activated": false, diff --git a/mod-orders-storage/examples/po_line_post.sample b/mod-orders-storage/examples/po_line_post.sample index e6925866..7618cd25 100644 --- a/mod-orders-storage/examples/po_line_post.sample +++ b/mod-orders-storage/examples/po_line_post.sample @@ -49,6 +49,10 @@ "subscriptionTo": "2020-10-09T00:00:00.000Z" }, "donor": "ABCDEFGHIJKLM", + "donorOrganizationIds": [ + "d926d900-e27d-46d6-bba8-31e9d5c2cf44", + "077274ad-6b4f-4c28-9779-6d381e7a1ca1" + ], "fundDistribution": [ { "code": "HIST", diff --git a/mod-orders/examples/composite_po_line.sample b/mod-orders/examples/composite_po_line.sample index 37c108a3..5b00054d 100644 --- a/mod-orders/examples/composite_po_line.sample +++ b/mod-orders/examples/composite_po_line.sample @@ -56,6 +56,10 @@ "subscriptionTo": "2020-10-09T00:00:00.000Z" }, "donor": "ABCDEFGHIJKLM", + "donorOrganizationIds": [ + "d926d900-e27d-46d6-bba8-31e9d5c2cf44", + "077274ad-6b4f-4c28-9779-6d381e7a1ca1" + ], "eresource": { "activated": false, "activationDue": 10,