Changed global TxId to local OrgSeq# in a few displays, there are probably more
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Swarmops.Basic.Types.Financial
|
||||
}
|
||||
public int OrganizationSequenceId
|
||||
{
|
||||
get { return this.organizationId; }
|
||||
get { return this.organizationSequenceId; }
|
||||
}
|
||||
|
||||
public int FinancialTransactionId
|
||||
|
||||
@@ -176,7 +176,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
result.Append ("{" + String.Format (
|
||||
"\"id\":\"{0:N0}\",\"datetime\":\"{1:MMM-dd HH:mm}\",\"description\":\"{2}\"," +
|
||||
"\"deltaPos\":\"{3}\",\"deltaNeg\":\"{4}\",\"balance\":\"{5:N0}\",\"action\":\"{6}\"",
|
||||
row.FinancialTransactionId,
|
||||
row.Transaction.OrganizationSequenceId,
|
||||
row.TransactionDateTime,
|
||||
JsonSanitize (description),
|
||||
debitString,
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
string row =
|
||||
String.Format (
|
||||
"\"id\":\"{0:N0}\",\"description\":\"{1}\",\"accountName\":\"{2}\",\"delta\":\"{3:+#,#.00;−#,#.00}\",\"dateTime\":\"{4:yyyy-MMM-dd HH:mm}\"",
|
||||
transaction.Identity, JsonSanitize (transaction.Description), JsonSanitize (accountName), txRows.AmountCentsTotal / 100.0, transaction.DateTime);
|
||||
transaction.OrganizationSequenceId, JsonSanitize (transaction.Description), JsonSanitize (accountName), txRows.AmountCentsTotal / 100.0, transaction.DateTime);
|
||||
|
||||
row +=
|
||||
String.Format (
|
||||
|
||||
Reference in New Issue
Block a user