Skip to content

Commit

Permalink
Fixed bug with searching of Tax in dividends.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimír Aubrecht committed Mar 1, 2020
1 parent ccfe87b commit 014eede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ string removeLastCharFunc(decimal number)

private decimal SearchForTaxString(ActivityTaxesModel[] activityTaxesModels, DateTime date)
{
return activityTaxesModels.Where(i => i.Date == date.ToString("MM/dd")).FirstOrDefault()?.Tax ?? 0;
return activityTaxesModels.Where(i => i.Date == date.ToString("MM/dd", CultureInfo.InvariantCulture)).FirstOrDefault()?.Tax ?? 0;
}

private ESPPTransaction CreateESPPTransaction(ActivityBuyModel[] activityBuyModels, ESPPModel esppRow)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"StatementParserCLI": {
"commandName": "Project",
"commandLineArgs": "\"C:\\Users\\vladi\\Downloads\\0228.pdf\""
"commandLineArgs": "\"C:\\Users\\vladi\\Downloads\\03-31-stat.pdf.pdf\""
}
}
}

0 comments on commit 014eede

Please sign in to comment.