From: Philip Reetz
Date: Mon, 29 Jan 2007 13:29:25 +0000 (+0000)
Subject: Bei eur wurden in der Kontenliste keine unbezahlten Rechnungen angezeigt. Entfernt.
X-Git-Tag: release-2.4.2~224
X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8b7b226d73364f6bd8582df83f0346d6c668d58c;p=kivitendo-erp.git
Bei eur wurden in der Kontenliste keine unbezahlten Rechnungen angezeigt. Entfernt.
---
diff --git a/SL/CA.pm b/SL/CA.pm
index 4f4dbde63..8122b9d4e 100644
--- a/SL/CA.pm
+++ b/SL/CA.pm
@@ -144,29 +144,11 @@ sub all_transactions {
$glwhere .= " AND ac.transdate <= '$form->{todate}'";
}
- if ($form->{eur}) {
- $AR_PAID = qq|AND ac.trans_id IN
- (
- SELECT trans_id
- FROM acc_trans
- JOIN chart ON (chart_id = id)
- WHERE link LIKE '%AR_paid%'
- $subwhere
- )|;
- $AP_PAID = qq|AND ac.trans_id IN
- (
- SELECT trans_id
- FROM acc_trans
- JOIN chart ON (chart_id = id)
- WHERE link LIKE '%AP_paid%'
- $subwhere
- )|;
- } else {
- $where .= $fromto;
- $AR_PAID = "";
- $AP_PAID = "";
- $glwhere = ""; # note! gl will be aliased as "a" later...
- }
+
+ $where .= $fromto;
+ $AR_PAID = "";
+ $AP_PAID = "";
+ $glwhere = ""; # note! gl will be aliased as "a" later...
my $sortorder = join ', ',
$form->sort_columns(qw(transdate reference description));
my $false = ($myconfig->{dbdriver} eq 'Pg') ? FALSE: q|'0'|;