From 575ce5cb71b4c63d7f066c7076d88825bc734ae2 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 1 Jan 2018 17:25:18 +0100 Subject: [PATCH] Making tx descriptions visible --- Site/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Site/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs b/Site/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs index 814e5209..808f2a6d 100644 --- a/Site/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs +++ b/Site/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs @@ -56,6 +56,14 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers bool zeroStart = false; bool zeroEnd = false; bool displayDescription = CurrentAuthority.HasAccess (new Access (CurrentOrganization, AccessAspect.BookkeepingDetails, AccessType.Read)); + + // HACK HACK HACK + if (CurrentOrganization.Identity == 8 && CurrentOrganization.Name.StartsWith("Rick Falkvinge")) + { + // TODO + displayDescription = true; // FIX THIS WITH A DAMN SETTING, YOU MORON, DON'T HARDCODE IT + } + bool canSeeAudit = CurrentAuthority.HasAccess(new Access(CurrentOrganization, AccessAspect.Auditing, AccessType.Read)); if (month > 0 && month <= 12)