From befa345705f11dc45ac82c210acc6d56f90103d6 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 3 Oct 2017 15:58:33 +0200 Subject: [PATCH] Debugging matching" --- Site/Pages/v5/Ledgers/BalanceTransactions.aspx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Site/Pages/v5/Ledgers/BalanceTransactions.aspx b/Site/Pages/v5/Ledgers/BalanceTransactions.aspx index 83a80bee..c6adaa25 100644 --- a/Site/Pages/v5/Ledgers/BalanceTransactions.aspx +++ b/Site/Pages/v5/Ledgers/BalanceTransactions.aspx @@ -60,9 +60,10 @@ $('#divPositiveDifference').show(); $('#divNegativeDifference').hide(); - if (data.OpenInvoiceData != null) { - if (data.OpenInvoiceData.ExactMatches.length > 0) { - <%=this.DropOpenOutboundInvoices.ClientID%>_loadData(data.OpenInvoiceData.ExactMatches); + if (data.OpenOutboundInvoiceData != null) { + console.log(data.OpenOutboundInvoiceData); + if (data.OpenOutboundInvoiceData.ExactMatches.length > 0) { + <%=this.DropOpenOutboundInvoices.ClientID%>_loadData(data.OpenOutboundInvoiceData.ExactMatches); <%=this.DropOpenOutboundInvoices.ClientID%>_text("<%=Resources.Global.Global_SelectOne%>"); } else { <%=this.DropOpenOutboundInvoices.ClientID%>_loadData({});