Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1d027d88

Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt

  • ID 1d027d8883ed6b13cf6c78b95b3493acc1fb715f
  • Vorgänger 723b79bd
  • Nachfolger eb22bdb4

Umstellung der HTML-Vorlagen aus templates/webpages/rp von HTML::Template auf Template.

Unterschiede anzeigen:

bin/mozilla/rp.pl
1441 1441
  $report->add_data(create_aging_subtotal_row(\%totals, \@columns, \@periods, 'listtotal'));
1442 1442

  
1443 1443
  if ($form->{arap} eq 'ar') {
1444
    $raw_top_info_text    = $form->parse_html_template('rp/aging_ar_top');
1445
    $raw_bottom_info_text = $form->parse_html_template('rp/aging_ar_bottom', { 'row_idx' => $row_idx,
1446
                                                                               'PRINT_OPTIONS' => print_options(inline => 1), });
1444
    $raw_top_info_text    = $form->parse_html_template2('rp/aging_ar_top');
1445
    $raw_bottom_info_text = $form->parse_html_template2('rp/aging_ar_bottom', { 'row_idx' => $row_idx,
1446
                                                                                'PRINT_OPTIONS' => print_options(inline => 1), });
1447 1447
    $report->set_options('raw_top_info_text'    => $raw_top_info_text,
1448 1448
                         'raw_bottom_info_text' => $raw_bottom_info_text);
1449 1449
  }
templates/webpages/rp/aging_ar_bottom_de.html
1
 <input type="hidden" name="rowcount" value="<TMPL_VAR row_idx ESCAPE=HTML>">
1
[% USE HTML %] <input type="hidden" name="rowcount" value="[% HTML.escape(row_idx) %]">
2 2

  
3
 <TMPL_VAR PRINT_OPTIONS>
3
 [% PRINT_OPTIONS %]
4 4

  
5
 <input type="hidden" name="todate" value="<TMPL_VAR todate ESCAPE=HTML>">
6
 <input type="hidden" name="title" value="<TMPL_VAR title ESCAPE=HTML>">
7
 <input type="hidden" name="arap" value="<TMPL_VAR arap ESCAPE=HTML>">
8
 <input type="hidden" name="ct" value="<TMPL_VAR ct ESCAPE=HTML>">
9
 <input type="hidden" name="customer" value="<TMPL_VAR customer ESCAPE=HTML>">
10
 <input type="hidden" name="vendor" value="<TMPL_VAR vendor ESCAPE=HTML>">
11
 <input type="hidden" name="department" value="<TMPL_VAR department ESCAPE=HTML>">
5
 <input type="hidden" name="todate" value="[% HTML.escape(todate) %]">
6
 <input type="hidden" name="title" value="[% HTML.escape(title) %]">
7
 <input type="hidden" name="arap" value="[% HTML.escape(arap) %]">
8
 <input type="hidden" name="ct" value="[% HTML.escape(ct) %]">
9
 <input type="hidden" name="customer" value="[% HTML.escape(customer) %]">
10
 <input type="hidden" name="vendor" value="[% HTML.escape(vendor) %]">
11
 <input type="hidden" name="department" value="[% HTML.escape(department) %]">
12 12

  
13
 <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
14
 <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
13
 <input type="hidden" name="login" value="[% HTML.escape(login) %]">
14
 <input type="hidden" name="password" value="[% HTML.escape(password) %]">
15 15

  
16 16
 Sammelrechnung
17 17
 <br>
templates/webpages/rp/aging_ar_bottom_master.html
1
 <input type="hidden" name="rowcount" value="<TMPL_VAR row_idx ESCAPE=HTML>">
1
[% USE HTML %] <input type="hidden" name="rowcount" value="[% HTML.escape(row_idx) %]">
2 2

  
3
 <TMPL_VAR PRINT_OPTIONS>
3
 [% PRINT_OPTIONS %]
4 4

  
5
 <input type="hidden" name="todate" value="<TMPL_VAR todate ESCAPE=HTML>">
6
 <input type="hidden" name="title" value="<TMPL_VAR title ESCAPE=HTML>">
7
 <input type="hidden" name="arap" value="<TMPL_VAR arap ESCAPE=HTML>">
8
 <input type="hidden" name="ct" value="<TMPL_VAR ct ESCAPE=HTML>">
9
 <input type="hidden" name="customer" value="<TMPL_VAR customer ESCAPE=HTML>">
10
 <input type="hidden" name="vendor" value="<TMPL_VAR vendor ESCAPE=HTML>">
11
 <input type="hidden" name="department" value="<TMPL_VAR department ESCAPE=HTML>">
5
 <input type="hidden" name="todate" value="[% HTML.escape(todate) %]">
6
 <input type="hidden" name="title" value="[% HTML.escape(title) %]">
7
 <input type="hidden" name="arap" value="[% HTML.escape(arap) %]">
8
 <input type="hidden" name="ct" value="[% HTML.escape(ct) %]">
9
 <input type="hidden" name="customer" value="[% HTML.escape(customer) %]">
10
 <input type="hidden" name="vendor" value="[% HTML.escape(vendor) %]">
11
 <input type="hidden" name="department" value="[% HTML.escape(department) %]">
12 12

  
13
 <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
14
 <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
13
 <input type="hidden" name="login" value="[% HTML.escape(login) %]">
14
 <input type="hidden" name="password" value="[% HTML.escape(password) %]">
15 15

  
16 16
 <translate>Statement</translate>
17 17
 <br>

Auch abrufbar als: Unified diff