diff --git a/Site/Pages/v5/Ledgers/InspectLedgers.aspx b/Site/Pages/v5/Ledgers/InspectLedgers.aspx
index 77137da4..3df87988 100644
--- a/Site/Pages/v5/Ledgers/InspectLedgers.aspx
+++ b/Site/Pages/v5/Ledgers/InspectLedgers.aspx
@@ -343,10 +343,10 @@
-
+
diff --git a/Site/Pages/v5/Ledgers/InspectLedgers.aspx.cs b/Site/Pages/v5/Ledgers/InspectLedgers.aspx.cs
index 3821abf7..d48a99ec 100644
--- a/Site/Pages/v5/Ledgers/InspectLedgers.aspx.cs
+++ b/Site/Pages/v5/Ledgers/InspectLedgers.aspx.cs
@@ -84,6 +84,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
{
this.LabelHeaderInspect.Text = Resources.Pages.Ledgers.InspectLedgers_Header_Inspect;
this.LabelHeaderInspectFor.Text = Resources.Pages.Ledgers.InspectLedgers_Header_For;
+ this.LabelHeaderGeneral.Text = Resources.Pages.Ledgers.InspectLedgers_GeneralLedger;
this.LabelGridHeaderAction.Text = this.LabelTreeHeaderAction.Text = Global.Global_Action;
this.LabelGridHeaderBalance.Text = this.LabelTreeHeaderBalance.Text = Global.Ledgers_Balance;
@@ -93,7 +94,6 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
this.LabelGridHeaderDescription.Text = Global.Global_Description;
this.LabelTreeHeaderDescriptionAccount.Text = Resources.Pages.Ledgers.InspectLedgers_Detail;
this.LabelGridHeaderId.Text = this.LabelTreeHeaderId.Text = Resources.Pages.Ledgers.InspectLedgers_TransactionId;
-
this.LabelGridHeaderAccountName.Text = Resources.Pages.Ledgers.InspectLedgers_AccountName;
this.LabelGridHeaderDateTimeEntered.Text = Resources.Pages.Ledgers.InspectLedgers_LoggedDate;
diff --git a/Site/Pages/v5/Ledgers/InspectLedgers.aspx.designer.cs b/Site/Pages/v5/Ledgers/InspectLedgers.aspx.designer.cs
index 35be11fe..7f1eee68 100644
--- a/Site/Pages/v5/Ledgers/InspectLedgers.aspx.designer.cs
+++ b/Site/Pages/v5/Ledgers/InspectLedgers.aspx.designer.cs
@@ -84,15 +84,6 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers {
///
protected global::System.Web.UI.WebControls.Label LabelHeaderGeneral;
- ///
- /// Label2 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label Label2;
-
///
/// DropGeneralYears control.
///
diff --git a/Site/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs b/Site/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs
index b9ebefb9..ba39fe31 100644
--- a/Site/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs
+++ b/Site/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs
@@ -46,7 +46,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
throw new UnauthorizedAccessException ("All the nopes in the world");
}
- if (!CurrentAuthority.HasAccess (new Access (CurrentOrganization, AccessAspect.Bookkeeping, AccessType.Read)))
+ if (!CurrentAuthority.HasAccess (new Access (CurrentOrganization, AccessAspect.Bookkeeping, AccessType.Read)) && CurrentOrganization.HasOpenLedgers)
{
throw new UnauthorizedAccessException ("Access denied because security tokens say so");
}
@@ -160,11 +160,11 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
if (row.AmountCents < 0)
{
- creditString = String.Format ("{0:N0}", row.AmountCents/100.0);
+ creditString = String.Format ("{0:N2}", row.AmountCents/100.0);
}
else if (row.AmountCents > 0)
{
- debitString = String.Format ("{0:N0}", row.AmountCents/100.0);
+ debitString = String.Format ("{0:N2}", row.AmountCents/100.0);
}
runningBalance += row.AmountCents;
diff --git a/Site/Site.csproj b/Site/Site.csproj
index a86a334b..33801a72 100644
--- a/Site/Site.csproj
+++ b/Site/Site.csproj
@@ -432,6 +432,13 @@
Json-AccountPlanData.aspx
+
+ Json-GeneralLedgerData.aspx
+ ASPXCodeBehind
+
+
+ Json-GeneralLedgerData.aspx
+
Json-VatReportData.aspx
ASPXCodeBehind
@@ -1157,6 +1164,7 @@
+
diff --git a/Site/Style/style-v5.css b/Site/Style/style-v5.css
index 63ca4fb2..fb2e8d00 100644
--- a/Site/Style/style-v5.css
+++ b/Site/Style/style-v5.css
@@ -33,6 +33,25 @@ html, body, input, select
}
+/* WEIGHTS */
+
+.weight-normal, .light {
+ font-weight: 300;
+}
+
+.weight-emphasis {
+ font-weight: 400;
+}
+
+.weight-more-emphasis, .medium {
+ font-weight: 500;
+}
+
+.weight-most-emphasis, .bold {
+ font-weight: 700;
+}
+
+
/* BASE */
body