-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from bb-io/develop
Develop
- Loading branch information
Showing
18 changed files
with
167 additions
and
193 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
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
18 changes: 18 additions & 0 deletions
18
Apps.XtrfCustomerPortal/DataSources/Static/ViewDataSource.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,18 @@ | ||
using Blackbird.Applications.Sdk.Common.Dictionaries; | ||
|
||
namespace Apps.XtrfCustomerPortal.DataSources.Static; | ||
|
||
public class ViewDataSource : IStaticDataSourceHandler | ||
{ | ||
public Dictionary<string, string> GetData() | ||
{ | ||
return new() | ||
{ | ||
{"UNPAID", "Unpaid"}, | ||
{"OVERDUE", "Overdue"}, | ||
{"EARLY_UNPAID", "Early unpaid"}, | ||
{"PAID", "Paid"}, | ||
{"ALL", "All"} | ||
}; | ||
} | ||
} |
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,15 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Apps.XtrfCustomerPortal.Models.Dtos; | ||
|
||
public class JsonErrorDto | ||
{ | ||
[JsonProperty("status")] | ||
public string Status { get; set; } | ||
|
||
[JsonProperty("errorMessage")] | ||
public string ErrorMessage { get; set; } | ||
|
||
[JsonProperty("detailedMessage")] | ||
public string DetailedMessage { get; set; } | ||
} |
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,19 @@ | ||
using System.Xml.Serialization; | ||
|
||
namespace Apps.XtrfCustomerPortal.Models.Dtos; | ||
|
||
[XmlRoot("html")] | ||
public class XmlErrorDto | ||
{ | ||
[XmlElement("head")] | ||
public Head Head { get; set; } | ||
|
||
[XmlElement("body")] | ||
public string Body { get; set; } | ||
} | ||
|
||
public class Head | ||
{ | ||
[XmlElement("title")] | ||
public string Title { get; set; } | ||
} |
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.