From: Moritz Bunkus Date: Fri, 22 Jun 2007 08:39:22 +0000 (+0000) Subject: Vorlagen zum Bearbeiten der Mahnungskonfiguration auf Template umgestellt. X-Git-Tag: release-2.4.3^2~73 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=666316593d4b95e5835305e02943538bf578589c;p=kivitendo-erp.git Vorlagen zum Bearbeiten der Mahnungskonfiguration auf Template umgestellt. --- 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 @@
- + - - + +