Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configured Financial_Year from CalRun #78

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sunitaguptaEviden
Copy link
Contributor

Configured Financial_Year from CalRun

@sunitaguptaEviden sunitaguptaEviden requested a review from a team as a code owner November 7, 2024 11:52
using (var transaction = this.context.Database.BeginTransaction())
{
try
{
var stagingOrganisationData = this.wrapper.GetOrganisationData();
var calcOrganisationMaster = new CalculatorRunOrganisationDataMaster
{
CalendarYear = Util.GetCalendarYear("2024-25"), //Take the financial year from Calc Run table and Derive the Calendar year
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a unit test for this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@udaydefra - Added Unit Tests

@@ -24,7 +24,7 @@ public class CalculatorRun
[Column("financial_year")]
[StringLength(250)]
[Required]
public string Financial_Year { get; set; }
public string financialYear { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The property should be Pascal cased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants