Derp fix
This commit is contained in:
@@ -66,14 +66,14 @@ public partial class Pages_v5_Ledgers_Json_ProfitLossData : DataV5Base
|
||||
{
|
||||
string result = string.Format("\"name\":\"{0}\"", Resources.Pages.Ledgers.ProfitLossStatement_Results);
|
||||
|
||||
result += string.Format(_renderCulture, ",\"lastYear\":\"{0:N0}\"", (double)totals.PreviousYear / -100.0);
|
||||
result += string.Format(CultureInfo.CurrentCulture, ",\"lastYear\":\"{0:N0}\"", (double)totals.PreviousYear / -100.0);
|
||||
|
||||
for (int quarter = 1; quarter <= 4; quarter++)
|
||||
{
|
||||
result += string.Format(_renderCulture, ",\"q{0}\":\"{1:N0}\"", quarter, totals.Quarters[quarter-1] / -100.0);
|
||||
result += string.Format(CultureInfo.CurrentCulture, ",\"q{0}\":\"{1:N0}\"", quarter, totals.Quarters[quarter-1] / -100.0);
|
||||
}
|
||||
|
||||
result += string.Format(_renderCulture, ",\"ytd\":\"{0:N0}\"", (double)totals.ThisYear / -100.0);
|
||||
result += string.Format(CultureInfo.CurrentCulture, ",\"ytd\":\"{0:N0}\"", (double)totals.ThisYear / -100.0);
|
||||
|
||||
return "{" + result + "}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user