diff --git a/Common/Enums/DocumentType.cs b/Common/Enums/DocumentType.cs
index 244bf47e..0c33f969 100644
--- a/Common/Enums/DocumentType.cs
+++ b/Common/Enums/DocumentType.cs
@@ -62,6 +62,11 @@ namespace Swarmops.Common.Enums
///
/// Other artwork (public)
///
- Artwork
+ Artwork,
+
+ ///
+ /// There really isn't a standalone doctype for this but still
+ ///
+ Payout
}
}
\ No newline at end of file
diff --git a/Logic/Support/Document.cs b/Logic/Support/Document.cs
index 7f919cba..e12d4d8d 100644
--- a/Logic/Support/Document.cs
+++ b/Logic/Support/Document.cs
@@ -144,6 +144,10 @@ namespace Swarmops.Logic.Support
{
return DocumentType.ExternalActivityPhoto;
}
+ else if (foreignObject is Payout)
+ {
+ return DocumentType.Payout;
+ }
else
{
throw new ArgumentException ("Unrecognized foreign object type:" + foreignObject.GetType().ToString());
diff --git a/Site/Pages/v5/Ledgers/InspectLedgers.aspx b/Site/Pages/v5/Ledgers/InspectLedgers.aspx
index bedc1bd7..4200d3ee 100644
--- a/Site/Pages/v5/Ledgers/InspectLedgers.aspx
+++ b/Site/Pages/v5/Ledgers/InspectLedgers.aspx
@@ -90,7 +90,7 @@
onLoadSuccess: function() {
$('div.treegrid').css('opacity', 1);
- $("td > div > span.tx-description").each(function() {
+ $("td > div > span.tx-description:not(:first)").each(function() {
var parent = $(this).parent();
var grandParent = parent.parent();