Fixed style and JSON bugs in P&L, balance
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
Localize();
|
||||
}
|
||||
|
||||
this.EasyUIControlsUsed = EasyUIControl.DataGrid;
|
||||
this.EasyUIControlsUsed = EasyUIControl.DataGrid | EasyUIControl.Tree;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
|
||||
foreach (YearlyReportLine line in reportLines)
|
||||
{
|
||||
string element = string.Format("\"id\":{0},\"name\":\"{1}\"", line.AccountId,
|
||||
string element = string.Format("\"id\":\"{0}\",\"name\":\"{1}\"", line.AccountId,
|
||||
JsonSanitize(line.AccountName));
|
||||
|
||||
if (line.Children.Count > 0)
|
||||
|
||||
@@ -80,7 +80,7 @@ public partial class Pages_v5_Ledgers_Json_ProfitLossData : DataV5Base
|
||||
|
||||
foreach (YearlyReportLine line in reportLines)
|
||||
{
|
||||
string element = string.Format("\"id\":{0},\"name\":\"{1}\"", line.AccountId,
|
||||
string element = string.Format("\"id\":\"{0}\",\"name\":\"{1}\"", line.AccountId,
|
||||
JsonSanitize(line.AccountName));
|
||||
|
||||
if (line.Children.Count > 0)
|
||||
|
||||
@@ -29,7 +29,7 @@ public partial class Pages_v5_Ledgers_ProfitLossStatement : PageV5Base
|
||||
Localize();
|
||||
}
|
||||
|
||||
this.EasyUIControlsUsed = EasyUIControl.DataGrid;
|
||||
this.EasyUIControlsUsed = EasyUIControl.DataGrid | EasyUIControl.Tree;
|
||||
}
|
||||
|
||||
private void Localize()
|
||||
|
||||
Reference in New Issue
Block a user