SOme more work

This commit is contained in:
Rick Falkvinge
2013-02-04 12:11:45 +00:00
parent 3da0004e92
commit c33506c7df
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -63,6 +63,11 @@ namespace Swarmops.Logic.Financial
#endregion
public Person Person
{
get { return Person.FromIdentity(this.PersonId); }
}
public FinancialAccount FinancialAccount
{
get { return FinancialAccount.FromIdentity(this.FinancialAccountId); }
@@ -135,7 +135,7 @@ public partial class Pages_v5_Finance_Json_AttestableCosts : System.Web.UI.Page
foreach (CashAdvance advance in advances)
{
_items.Add(new AttestableItem("A" + advance.Identity.ToString(CultureInfo.InvariantCulture), "Beneficiary", advance.AmountCents, advance.FinancialAccount, "Description", "Advance", advance));
_items.Add(new AttestableItem("A" + advance.Identity.ToString(CultureInfo.InvariantCulture), advance.Person.Name, advance.AmountCents, advance.FinancialAccount, advance.Description, "AttestCosts_Advance", advance));
}
}
@@ -84,7 +84,7 @@
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderMain" Runat="Server">
<h2><asp:Label ID="LabelContentHeader" runat="server" /> <asp:DropDownList runat="server" ID="DropYears"/>&nbsp;<img alt="Loading" src="/Images/Abstract/ajaxloader-blackcircle.gif" ID="imageLoadIndicator" /></h2>
<table id="tableProfitLoss" title="" class="easyui-treegrid" style="width:680px;height:600px"
<table id="tableProfitLoss" title="" class="easyui-treegrid" style="width:680px;height:600px"
url="Json-ProfitLossData.aspx"
rownumbers="false"
animate="true" showFooter="true"