Revision 6ce732c8
Von Stephan Köhler vor etwa 19 Jahren hinzugefügt
SL/GL.pm | ||
---|---|---|
281 | 281 |
$apwhere .= " AND c.gifi_accno = '$form->{gifi_accno}'"; |
282 | 282 |
} |
283 | 283 |
if ($form->{category} ne 'X') { |
284 |
$glwhere .= " AND c.category = '$form->{category}'";
|
|
285 |
$arwhere .= " AND c.category = '$form->{category}'";
|
|
286 |
$apwhere .= " AND c.category = '$form->{category}'";
|
|
284 |
$glwhere .= " AND gl.id in (SELECT trans_id FROM acc_trans ac2 WHERE ac2.chart_id IN (SELECT id FROM chart c2 WHERE c2.category = '$form->{category}'))";
|
|
285 |
$arwhere .= " AND ar.id in (SELECT trans_id FROM acc_trans ac2 WHERE ac2.chart_id IN (SELECT id FROM chart c2 WHERE c2.category = '$form->{category}'))";
|
|
286 |
$apwhere .= " AND ap.id in (SELECT trans_id FROM acc_trans ac2 WHERE ac2.chart_id IN (SELECT id FROM chart c2 WHERE c2.category = '$form->{category}'))";
|
|
287 | 287 |
} |
288 | 288 |
|
289 | 289 |
if ($form->{accno}) { |
Auch abrufbar als: Unified diff
Merge von 617 aus unstable: UBL Bug
Fixed Bug #187, UBL wenn als Kategorie nicht "alle" ausgewaehlt wird