1 |
1 |
[%- USE T8 %]
|
2 |
2 |
[%- USE HTML %]
|
3 |
3 |
[%- USE LxERP %]
|
|
4 |
[%- USE L %]
|
4 |
5 |
|
5 |
6 |
<table border=0 cellpadding=0 cellspacing=0>
|
6 |
7 |
<tr class="headline">
|
... | ... | |
513 |
514 |
</tr>
|
514 |
515 |
|
515 |
516 |
</table>
|
|
517 |
|
|
518 |
<br>
|
|
519 |
[% L.button_tag('', LxERP.t8('Show chart list'), id="show_chartlist_button", class="hide") %]
|
|
520 |
[% L.button_tag('', LxERP.t8('Hide chart list'), id="hide_chartlist_button", class="hide") %]
|
|
521 |
<div id="chartlist">
|
|
522 |
<div>[% 'Chart list' | $T8 %]</div>
|
|
523 |
<div>
|
|
524 |
<table>
|
|
525 |
<tr>
|
|
526 |
<th>[% 'Chart' | $T8 %]</th>
|
|
527 |
<th>[% 'Amount' | $T8 %]</th>
|
|
528 |
<th>[% 'Category' | $T8 %]</th>
|
|
529 |
</tr>
|
|
530 |
[% FOREACH key = charts.keys.sort %]
|
|
531 |
[% UNLESS charts.$key.pos_bwa %]
|
|
532 |
[% NEXT %]
|
|
533 |
[% END %]
|
|
534 |
<tr>
|
|
535 |
<td>[% charts.$key.accno %]</td>
|
|
536 |
<td class="numeric">[% LxERP.format_amount( charts.$key.amount, 2 ) %]</td>
|
|
537 |
<td>[% HTML.escape(category_names.item(charts.$key.pos_bwa)) %]</td>
|
|
538 |
</tr>
|
|
539 |
[% END %]
|
|
540 |
</table>
|
|
541 |
</div>
|
|
542 |
</div>
|
|
543 |
|
|
544 |
[% # L.dump(charts_by_category.item(1)) # Debug Umsatzerlöse %]
|
|
545 |
|
|
546 |
<script language="javascript">
|
|
547 |
$( document ).ready(function() {
|
|
548 |
$( "#hide_chartlist_button" ).hide();
|
|
549 |
$( "#chartlist" ).hide();
|
|
550 |
|
|
551 |
$( "#show_chartlist_button" ).click(function() {
|
|
552 |
$( "#chartlist" ).toggle();
|
|
553 |
$('html, body').animate({
|
|
554 |
scrollTop: $(this).offset().top
|
|
555 |
}, 500);
|
|
556 |
$(this).hide();
|
|
557 |
$("#hide_chartlist_button").show();
|
|
558 |
});
|
|
559 |
|
|
560 |
$( "#hide_chartlist_button" ).click(function() {
|
|
561 |
$( "#chartlist" ).toggle();
|
|
562 |
$('html, body').animate({
|
|
563 |
scrollTop: $(this).offset().top
|
|
564 |
}, 500);
|
|
565 |
$(this).hide();
|
|
566 |
$("#show_chartlist_button").show();
|
|
567 |
});
|
|
568 |
|
|
569 |
})
|
|
570 |
|
|
571 |
</script>
|
BWA mit Kontennachweis
Unterhalb der BWA gibt es einen Knopf "Kontenliste zeigen", wo eine nach
Kontennummer sortierte Liste aller Konten, mit dazugehörigem Betrag und
der Kategorie, aufgeklappt wird.