From: Moritz Bunkus Date: Wed, 9 May 2007 08:34:26 +0000 (+0000) Subject: Kosmetik. X-Git-Tag: release-2.4.3^2~354 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7eae8facf962ddf359ab295b0e402c142be31548;p=kivitendo-erp.git Kosmetik. --- diff --git a/SL/IS.pm b/SL/IS.pm index e703fcc7b..c37b1aa82 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -1370,16 +1370,11 @@ sub retrieve_invoice { $query = qq|SELECT - (SELECT c.accno FROM chart c - WHERE d.inventory_accno_id = c.id) AS inventory_accno, - (SELECT c.accno FROM chart c - WHERE d.income_accno_id = c.id) AS income_accno, - (SELECT c.accno FROM chart c - WHERE d.expense_accno_id = c.id) AS expense_accno, - (SELECT c.accno FROM chart c - WHERE d.fxgain_accno_id = c.id) AS fxgain_accno, - (SELECT c.accno FROM chart c - WHERE d.fxloss_accno_id = c.id) AS fxloss_accno, + (SELECT c.accno FROM chart c WHERE d.inventory_accno_id = c.id) AS inventory_accno, + (SELECT c.accno FROM chart c WHERE d.income_accno_id = c.id) AS income_accno, + (SELECT c.accno FROM chart c WHERE d.expense_accno_id = c.id) AS expense_accno, + (SELECT c.accno FROM chart c WHERE d.fxgain_accno_id = c.id) AS fxgain_accno, + (SELECT c.accno FROM chart c WHERE d.fxloss_accno_id = c.id) AS fxloss_accno, d.curr AS currencies ${query_transdate} FROM defaults d|;