Revision e05a0e27
Von Philip Reetz 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}) { |
bin/mozilla/gl.pl | ||
---|---|---|
305 | 305 |
. $locale->text('All') . qq| |
306 | 306 |
<input name="category" class=radio type=radio value=A> | |
307 | 307 |
. $locale->text('Asset') . qq| |
308 |
<input name="category" class=radio type=radio value=C> | |
|
309 |
. $locale->text('Contra') . qq| |
|
310 | 308 |
<input name="category" class=radio type=radio value=L> | |
311 | 309 |
. $locale->text('Liability') . qq| |
312 |
<input name="category" class=radio type=radio value=Q> | |
|
313 |
. $locale->text('Equity') . qq| |
|
314 | 310 |
<input name="category" class=radio type=radio value=I> | |
315 | 311 |
. $locale->text('Revenue') . qq| |
316 | 312 |
<input name="category" class=radio type=radio value=E> | |
Auch abrufbar als: Unified diff
Fixed Bug #187, UBL wenn als Kategorie nicht "alle" ausgewaehlt wird