diff --git a/Site/Pages/v5/Ledgers/Json-GeneralLedgerData.aspx.cs b/Site/Pages/v5/Ledgers/Json-GeneralLedgerData.aspx.cs
index 7924c250..b35fe7f4 100644
--- a/Site/Pages/v5/Ledgers/Json-GeneralLedgerData.aspx.cs
+++ b/Site/Pages/v5/Ledgers/Json-GeneralLedgerData.aspx.cs
@@ -116,7 +116,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
string description = transaction.Description;
string hasDoxString =
- "
";
+ "
";
string actionHtml = string.Empty;
diff --git a/Site/Pages/v5/Ledgers/ViewVatReports.aspx b/Site/Pages/v5/Ledgers/ViewVatReports.aspx
index 81f13f62..4eaaaa66 100644
--- a/Site/Pages/v5/Ledgers/ViewVatReports.aspx
+++ b/Site/Pages/v5/Ledgers/ViewVatReports.aspx
@@ -17,7 +17,7 @@
$('span.loadingHeader').hide();
$(".LocalViewDox").click(function () {
- $("a.FancyBox_Gallery[data-fancybox='" + $(this).attr("data-docid") + "']").first().click();
+ $("a.FancyBox_Gallery[data-fancybox='" + $(this).attr("data-txid") + "']").first().click();
});
$(".LocalDownloadDox").click(function() {