-
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.
Psp 8368 variable payments, gst fixes, unit tests. (#4166)
* psp-8368 add ability to track variable payments. * ensure that rent categories only display for variable payments. * WIP * test updates. * snapshot update. * lint correction. * code review comments. * disable test temporarily. * disable test. * disable other test. * cleanup. --------- Co-authored-by: Smith <devin.smith@quartech.com>
- Loading branch information
1 parent
55757af
commit 7a51426
Showing
160 changed files
with
3,982 additions
and
965 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
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
16 changes: 16 additions & 0 deletions
16
source/backend/apimodels/CodeTypes/LeasePaymentCategoryTypes.cs
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,16 @@ | ||
using System.Runtime.Serialization; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Pims.Api.Models.CodeTypes | ||
{ | ||
[JsonConverter(typeof(JsonStringEnumMemberConverter))] | ||
public enum LeasePaymentCategoryTypes | ||
{ | ||
[EnumMember(Value = "ADDL")] | ||
ADDL, | ||
[EnumMember(Value = "BASE")] | ||
BASE, | ||
[EnumMember(Value = "VBL")] | ||
VBL, | ||
} | ||
} |
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
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
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
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
36 changes: 36 additions & 0 deletions
36
source/backend/entities/Partials/LeasePaymentCategoryType.cs
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,36 @@ | ||
using System.ComponentModel.DataAnnotations.Schema; | ||
|
||
namespace Pims.Dal.Entities | ||
{ | ||
/// <summary> | ||
/// PimsLeasePaymentCategoryType class, provides an entity for the datamodel to manage a list of lease payment category types. | ||
/// </summary> | ||
public partial class PimsLeasePaymentCategoryType : ITypeEntity<string> | ||
{ | ||
#region Properties | ||
|
||
/// <summary> | ||
/// get/set - Primary key to identify lease payment frequency type. | ||
/// </summary> | ||
[NotMapped] | ||
public string Id { get => LeasePaymentCategoryTypeCode; set => LeasePaymentCategoryTypeCode = value; } | ||
#endregion | ||
|
||
#region Constructors | ||
|
||
/// <summary> | ||
/// Create a new instance of a LeasePaymentFrequencyType class. | ||
/// </summary> | ||
/// <param name="id"></param> | ||
public PimsLeasePaymentCategoryType(string id) | ||
: this() | ||
{ | ||
Id = id; | ||
} | ||
|
||
public PimsLeasePaymentCategoryType() | ||
{ | ||
} | ||
#endregion | ||
} | ||
} |
Oops, something went wrong.