From 666316593d4b95e5835305e02943538bf578589c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 22 Jun 2007 08:39:22 +0000 Subject: [PATCH] Vorlagen zum Bearbeiten der Mahnungskonfiguration auf Template umgestellt. --- bin/mozilla/dn.pl | 8 +- .../webpages/dunning/edit_config_de.html | 105 +++++++++--------- .../webpages/dunning/edit_config_master.html | 105 +++++++++--------- 3 files changed, 109 insertions(+), 109 deletions(-) diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index d1dac5e3e..8a193426e 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -70,13 +70,11 @@ sub edit_config { } } - $form->{title} = $locale->text('Edit Dunning Process Config'); - $form->{callback} ||= build_std_url("action=edit_config"); - $form->{rowcount} = 1 + scalar @{ $form->{DUNNING} }; - $form->{rowcount_odd} = $form->{rowcount} % 2; + $form->{title} = $locale->text('Edit Dunning Process Config'); + $form->{callback} ||= build_std_url("action=edit_config"); $form->header(); - print $form->parse_html_template("dunning/edit_config"); + print $form->parse_html_template2("dunning/edit_config"); $lxdebug->leave_sub(); } diff --git a/templates/webpages/dunning/edit_config_de.html b/templates/webpages/dunning/edit_config_de.html index a4cbd91ed..2296a55cf 100644 --- a/templates/webpages/dunning/edit_config_de.html +++ b/templates/webpages/dunning/edit_config_de.html @@ -1,4 +1,4 @@ - +[% USE HTML %] @@ -12,7 +12,7 @@ --> -
+
[% title %]
@@ -31,70 +31,71 @@ - - + [% SET odd = '1' %][% USE DUNNING_it = Iterator(DUNNING) %][% FOREACH row = DUNNING_it %] + - - + + - - - - - - + + + + + + - + [% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %] + [% END %] - + - - + + - - - - - - + + + + + +
Druckvorlage
- - - + + + [% DUNNING_it.count %] checked> - checked> - - - - + + + checked>%%
- - - + + + [% rowcount %] - - - - - + + + %%
- +

checked + [% IF create_invoices_for_fees %]checked[% END %] value="1" onclick="enable_invoice_controls(this.checked);">

@@ -103,9 +104,9 @@ Konto für Gebühren - + [% FOREACH row = SELECT_AR_AMOUNT %] + [% END %] @@ -113,9 +114,9 @@ Konto für Zinsen - + [% FOREACH row = SELECT_AR_AMOUNT %] + [% END %] @@ -123,9 +124,9 @@ Buchen auf - + [% FOREACH row = SELECT_AR %] + [% END %] @@ -133,10 +134,10 @@
- + - - + + diff --git a/templates/webpages/dunning/edit_config_master.html b/templates/webpages/dunning/edit_config_master.html index 960445839..870f7525a 100644 --- a/templates/webpages/dunning/edit_config_master.html +++ b/templates/webpages/dunning/edit_config_master.html @@ -1,4 +1,4 @@ - +[% USE HTML %] @@ -12,7 +12,7 @@ --> -
+
[% title %]
@@ -31,70 +31,71 @@ - - + [% SET odd = '1' %][% USE DUNNING_it = Iterator(DUNNING) %][% FOREACH row = DUNNING_it %] + - - + + - - - - - - + + + + + + - + [% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %] + [% END %] - + - - + + - - - - - - + + + + + +
Template
- - - + + + [% DUNNING_it.count %] checked> - checked> - - - - + + + checked>%%
- - - + + + [% rowcount %] - - - - - + + + %%
- +

checked + [% IF create_invoices_for_fees %]checked[% END %] value="1" onclick="enable_invoice_controls(this.checked);">

@@ -103,9 +104,9 @@ Account for fees - + [% FOREACH row = SELECT_AR_AMOUNT %] + [% END %] @@ -113,9 +114,9 @@ Account for interest - + [% FOREACH row = SELECT_AR_AMOUNT %] + [% END %] @@ -123,9 +124,9 @@ Record in - + [% FOREACH row = SELECT_AR %] + [% END %] @@ -133,10 +134,10 @@
- + - - + + -- 2.20.1