[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: v1.3.36 fails update on add transaction
- Subject: Re: v1.3.36 fails update on add transaction
- From: Chris Travers <..hidden..>
- Date: Fri, 24 Jan 2014 05:20:39 -0800
Index: LedgerSMB/AA.pm
===================================================================
--- LedgerSMB/AA.pm (revision 6613)
+++ LedgerSMB/AA.pm (working copy)
@@ -909,7 +909,7 @@
# detail report query can be inlined in the summary report query. -CT
my $p = $LedgerSMB::Sysconfig::decimal_places;
- my $cols = qq|a.id, a.invnumber, a.ordnumber, a.transdate, a.crdate,
+ my $cols = qq|a.id, a.invnumber, a.ordnumber, a.transdate,
a.duedate, a.netamount, a.amount::numeric(20,$p),
a.amount::numeric(20,$p) - (sum(acs.amount::numeric(20,$p)) * CASE WHEN '$table' = 'ar' THEN -1 ELSE 1 END) AS paid,
a.invoice, a.datepaid, a.terms, a.notes,
@@ -975,7 +975,7 @@
}
} else {
$query = qq|
- SELECT a.id, a.invnumber, a.ordnumber, a.transdate, a.crdate,
+ SELECT a.id, a.invnumber, a.ordnumber, a.transdate,
a.duedate, a.netamount, a.amount,
(a.amount - pd.due) AS paid,
a.invoice, a.datepaid, a.terms, a.notes,
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users