From: Moritz Bunkus Date: Wed, 31 Oct 2007 16:06:54 +0000 (+0000) Subject: Umstellung der Vorlagen aus templates/webpages/dunning von HTML::Template auf Template. X-Git-Tag: release-2.6.0beta1~448 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=79d30e2e5cceb8b1136e1e3a340a88322ed7b461;p=kivitendo-erp.git Umstellung der Vorlagen aus templates/webpages/dunning von HTML::Template auf Template. --- diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index 749c25b26..b15d02928 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -96,7 +96,7 @@ sub add { $form->{fokus} = "search.customer"; $form->header(); - print $form->parse_html_template("dunning/add"); + print $form->parse_html_template2("dunning/add"); $lxdebug->leave_sub(); } @@ -131,7 +131,7 @@ sub show_invoices { 'no_opendocument' => 1,); $form->header(); - print $form->parse_html_template("dunning/show_invoices"); + print $form->parse_html_template2("dunning/show_invoices"); $lxdebug->leave_sub(); } @@ -233,7 +233,7 @@ sub set_email { $form->{"title"} = $locale->text("Set eMail text"); $form->header(); - print($form->parse_html_template("dunning/set_email")); + print($form->parse_html_template2("dunning/set_email")); $lxdebug->leave_sub(); } @@ -260,7 +260,7 @@ sub search { . qq|;setupDateFormat('|. $myconfig{dateformat} .qq|', '|. $locale->text("Falsches Datumsformat!") .qq|')| . qq|;setupPoints('|. $myconfig{numberformat} .qq|', '|. $locale->text("wrongformat") .qq|')|; - print $form->parse_html_template("dunning/search"); + print $form->parse_html_template2("dunning/search"); $lxdebug->leave_sub(); @@ -361,8 +361,8 @@ sub show_dunning { $report->add_data($current_dunning_rows) if (scalar @{ $current_dunning_rows }); - $report->set_options('raw_top_info_text' => $form->parse_html_template('dunning/show_dunning_top'), - 'raw_bottom_info_text' => $form->parse_html_template('dunning/show_dunning_bottom'), + $report->set_options('raw_top_info_text' => $form->parse_html_template2('dunning/show_dunning_top'), + 'raw_bottom_info_text' => $form->parse_html_template2('dunning/show_dunning_bottom'), 'output_format' => 'HTML', 'attachment_basename' => $locale->text('dunning_list') . strftime('_%Y%m%d', localtime time), ); diff --git a/templates/webpages/dunning/add_de.html b/templates/webpages/dunning/add_de.html index f35601f80..f95676d54 100644 --- a/templates/webpages/dunning/add_de.html +++ b/templates/webpages/dunning/add_de.html @@ -1,17 +1,17 @@ - +[% USE HTML %] -
+
[% title %]
@@ -19,40 +19,40 @@ Kunde - + [% IF SHOW_CUSTOMER_SELECTION %] - - - + [% ELSE %] + + [% END %] - + [% IF SHOW_DUNNING_LEVEL_SELECTION %] Nächste Mahnstufe - + [% END %] - + [% IF SHOW_DEPARTMENT_SELECTION %] Abteilung - + [% END %] Rechnungsnummer @@ -84,8 +84,8 @@ - - + +
diff --git a/templates/webpages/dunning/add_master.html b/templates/webpages/dunning/add_master.html index 9989f6b4a..8ff0289c1 100644 --- a/templates/webpages/dunning/add_master.html +++ b/templates/webpages/dunning/add_master.html @@ -1,17 +1,17 @@ - +[% USE HTML %] -
+
[% title %]
@@ -19,40 +19,40 @@ Customer - + [% IF SHOW_CUSTOMER_SELECTION %] - - - + [% ELSE %] + + [% END %] - + [% IF SHOW_DUNNING_LEVEL_SELECTION %] Next Dunning Level - + [% END %] - + [% IF SHOW_DEPARTMENT_SELECTION %] Department - + [% END %] Invoice Number @@ -84,8 +84,8 @@ - - + +
diff --git a/templates/webpages/dunning/search_de.html b/templates/webpages/dunning/search_de.html index e930bc2ec..3d48065da 100644 --- a/templates/webpages/dunning/search_de.html +++ b/templates/webpages/dunning/search_de.html @@ -1,10 +1,10 @@ - +[% USE HTML %] -
+
[% title %]
@@ -14,43 +14,43 @@ - + [% IF SHOW_DUNNING_LEVELS %] - + [% END %] - + [% IF SHOW_DEPARTMENT_DDBOX %] - + [% END %] @@ -70,12 +70,12 @@ @@ -83,12 +83,12 @@ @@ -113,8 +113,8 @@ - - + +
@@ -124,10 +124,10 @@ diff --git a/templates/webpages/dunning/search_master.html b/templates/webpages/dunning/search_master.html index 3f3943220..4ef95e401 100644 --- a/templates/webpages/dunning/search_master.html +++ b/templates/webpages/dunning/search_master.html @@ -1,10 +1,10 @@ - +[% USE HTML %] -
+
[% title %]
Kunde - + [% IF SHOW_CUSTOMER_DDBOX %] - + [% ELSE %] - + [% END %]
Nächste Mahnstufe
Abteilung
Rechnungsnummer
Rechnungen von - + An - +
Mahnungen von - + An - +
@@ -14,43 +14,43 @@ - + [% IF SHOW_DUNNING_LEVELS %] - + [% END %] - + [% IF SHOW_DEPARTMENT_DDBOX %] - + [% END %] @@ -70,12 +70,12 @@ @@ -83,12 +83,12 @@ @@ -113,8 +113,8 @@ - - + +
@@ -124,10 +124,10 @@ diff --git a/templates/webpages/dunning/set_email_de.html b/templates/webpages/dunning/set_email_de.html index d69c257c2..af313dade 100644 --- a/templates/webpages/dunning/set_email_de.html +++ b/templates/webpages/dunning/set_email_de.html @@ -1,4 +1,4 @@ -onload=""> +[% USE HTML %] -
+
[% title %]

The columns "Dunning Duedate", "Total Fees" and "Interest" show data for the previous @@ -15,12 +15,12 @@

@@ -35,53 +35,53 @@ - - + [% FOREACH row = DUNNINGS %] + - - - - - - - - - - + + + + + + + + + + - + [% END %]
Customer - + [% IF SHOW_CUSTOMER_DDBOX %] - + [% ELSE %] - + [% END %]
Next Dunning Level
Department
Invoice Number
Invdate from - + To - +
Dunning Date from - + To - +
Current / Next Level - + - +
- - -   + + + [% IF row.dunning_level %][% HTML.escape(row.dunning_level) %][% ELSE %] [% END %] - + [% FOREACH cfg_row = DUNNING_CONFIG %][% END %] checked>checked>[% HTML.escape(row.customername) %][% HTML.escape(row.invnumber) %][% HTML.escape(row.transdate) %][% HTML.escape(row.duedate) %][% HTML.escape(row.amount) %][% HTML.escape(row.next_duedate) %][% HTML.escape(row.fee) %][% HTML.escape(row.interest) %]

- + [% PRINT_OPTIONS %]
- - + + - + - - + + onclick="this.disabled=true; this.value='The dunning process started'; document.Form.submit()"> + [% UNLESS DEBUG_DUNNING %]onclick="this.disabled=true; this.value='The dunning process started'; document.Form.submit()"[% END %]>