Fixed bug showing paidout advances as reversible attestations
This commit is contained in:
@@ -134,14 +134,14 @@ public partial class Pages_v5_Finance_Json_AttestableCosts : DataV5Base
|
||||
advance.Person.Name, advance.AmountCents, advance.Budget,
|
||||
advance.Description, "Financial_CashAdvance", false, advance);
|
||||
|
||||
if (advance.Attested)
|
||||
{
|
||||
this._attestedItems.Add (item);
|
||||
}
|
||||
else
|
||||
if (!advance.Attested) // if not attested
|
||||
{
|
||||
this._items.Add (item);
|
||||
}
|
||||
else if (!advance.PaidOut) // if attested, but still reversible
|
||||
{
|
||||
this._attestedItems.Add (item);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user