Plus/minus error
This commit is contained in:
@@ -235,7 +235,7 @@
|
||||
<p><input type="radio" id="RadioPaymentDirect" name="TxOptions" value="PaymentDirect" /><label for="RadioPaymentDirect"> <asp:Label runat="server" ID="LabelRadioPaymentDirect" Text="Match to an open outbound invoice? XYZ" /></label></p>
|
||||
<div id="radioOptionPaymentDirect" class="radioOption">
|
||||
<div class="entryFields">
|
||||
<Swarmops5:DropDown ID="DropOpenOutboundInvoices" runat="server" ListType="All" />​<br/>
|
||||
<Swarmops5:DropDown ID="DropOpenOutboundInvoices" runat="server" />​<br/>
|
||||
<input type="button" value='#PaymentInvoice#' class="buttonAccentColor" onclick="onMatchOpenOutboundInvoice(); return false;" id="buttonExecutePayoutForeign"/>
|
||||
</div>
|
||||
<div class="entryLabels">
|
||||
|
||||
@@ -186,8 +186,8 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
|
||||
foreach (OutboundInvoice invoice in invoices)
|
||||
{
|
||||
if (invoice.AmountCents > -matchAmount * 95 / 100 &&
|
||||
invoice.AmountCents < -matchAmount * 105 / 100)
|
||||
if (invoice.AmountCents > matchAmount * 95 / 100 &&
|
||||
invoice.AmountCents < matchAmount * 105 / 100)
|
||||
{
|
||||
string description = String.Format(Resources.Pages.Ledgers.BalanceTransactions_PayoutMatch, invoice.Identity,
|
||||
invoice.DueDate, invoice.CustomerName, invoice.Organization.Currency.DisplayCode, invoice.AmountCents / 100.0,
|
||||
|
||||
Reference in New Issue
Block a user