Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 919aac79

Von Sven Schöling vor fast 13 Jahren hinzugefügt

  • ID 919aac7928355937d6eedf8df4da56808ebd4eb9
  • Vorgänger 22e89662
  • Nachfolger c584ce44

Summen und Saldenliste - Header für PDF Export.

Unterschiede anzeigen:

bin/mozilla/rp.pl
644 644
  my @options;
645 645

  
646 646

  
647
  $form->{template_fromto} = $locale->date(\%myconfig, $form->{fromdate}, 0) . "  -  " . $locale->date(\%myconfig, $form->{todate}, 0);
647
  $form->{template_fromto} = $locale->date(\%myconfig, $form->{fromdate}, 0) . " - " . $locale->date(\%myconfig, $form->{todate}, 0);
648 648

  
649 649
  $form->{print_date} = $locale->text('Create Date') . " " . $locale->date(\%myconfig, $form->current_date(\%myconfig), 0);
650 650
  push (@options, $form->{print_date});
......
655 655

  
656 656
  $form->{template_to} = $locale->date(\%myconfig, $form->{todate}, 0);
657 657

  
658
  my @custom_headers = ([
659
    { text => $::locale->text('Account'),          rowspan => 2, },
660
    { text => $::locale->text('Description'),      rowspan => 2, },
661
    { text => $::locale->text('Last Transaction'), rowspan => 2, },
662
    { text => $::locale->text('Starting Balance'), colspan => 2, },
663
    { text => $::locale->text('Sum for')   . " $form->{template_fromto}", colspan => 2, },
664
    { text => $::locale->text('Sum per')   . " $form->{template_to}",     colspan => 2, },
665
    { text => $::locale->text('Saldo per') . " $form->{template_to}",     colspan => 2, },
666
  ], [
667
    { text => '', },
668
    { text => '', },
669
    { text => '', },
670
    { text => $::locale->text('Assets'), },
671
    { text => $::locale->text('Equity'), },
672
    { text => $::locale->text('Debit'),  },
673
    { text => $::locale->text('Credit'), },
674
    { text => $::locale->text('Debit'),  },
675
    { text => $::locale->text('Credit'), },
676
    { text => $::locale->text('Debit'),  },
677
    { text => $::locale->text('Credit'), },
678
  ]);
679

  
658 680
  $report->set_options('output_format'        => 'HTML',
659 681
                       'top_info_text'        => join("\n", @options),
660 682
                       'title'                => $form->{title},
......
662 684
                       'html_template'        => 'rp/html_report_susa',
663 685
                       'pdf_template'         => 'rp/html_report_susa',
664 686
    );
687
  $report->set_custom_headers(@custom_headers);
665 688
  $report->set_options_from_form();
666 689
  $locale->set_numberformat_wo_thousands_separator(\%myconfig) if lc($report->{options}->{output_format}) eq 'csv';
667 690

  

Auch abrufbar als: Unified diff