-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added check status logic when updating acq and related entities | psp-7006 (#3602) * Added status checking to details, take, compensation and other acq file pages * Updated backend and updated tests * Fixed lint * Refactored solver to be simpler * Added tests * Pr comments * Added the sys-admin to edit acquisition fields * CI: Bump version to v4.0.0-67.24 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
4fd93c5
commit 435cc2b
Showing
53 changed files
with
1,745 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using System.Runtime.Serialization; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Pims.Api.Constants | ||
{ | ||
[JsonConverter(typeof(JsonStringEnumMemberConverter))] | ||
public enum AcquisitionStatusTypes | ||
{ | ||
|
||
[EnumMember(Value = "ACTIVE")] | ||
ACTIVE, | ||
|
||
[EnumMember(Value = "ARCHIV")] | ||
ARCHIV, | ||
|
||
[EnumMember(Value = "CANCEL")] | ||
CANCEL, | ||
|
||
[EnumMember(Value = "CLOSED")] | ||
CLOSED, | ||
|
||
[EnumMember(Value = "COMPLT")] | ||
COMPLT, | ||
|
||
[EnumMember(Value = "DRAFT")] | ||
DRAFT, | ||
|
||
[EnumMember(Value = "HOLD")] | ||
HOLD, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System.Runtime.Serialization; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Pims.Api.Constants | ||
{ | ||
[JsonConverter(typeof(JsonStringEnumMemberConverter))] | ||
public enum AgreementStatusTypes | ||
{ | ||
[EnumMember(Value = "CANCELLED")] | ||
CANCELLED, | ||
|
||
[EnumMember(Value = "DRAFT")] | ||
DRAFT, | ||
|
||
[EnumMember(Value = "FINAL")] | ||
FINAL, | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.