]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Wenn noch gar keine Mahnlevel existieren, dann darf "rowcount" nicht leer bleiben.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 25 Jul 2007 09:02:40 +0000 (09:02 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 25 Jul 2007 09:02:40 +0000 (09:02 +0000)
templates/webpages/dunning/edit_config_de.html
templates/webpages/dunning/edit_config_master.html

index 23bfc9d0201fc4df8400a480ac5550ed67a23639..53e8b69efdfae1b1389743d20662d4630500c2ad 100644 (file)
@@ -53,6 +53,7 @@
     [% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %]
    [% END %]
 
     [% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %]
    [% END %]
 
+   [%- UNLESS rowcount %][% SET rowcount = '1' %][% END -%]
    <tr valign="top" class="listrow[% IF odd %]1[% ELSE %]0[% END %]">
     <td>
      <input type="hidden" name="dunning_level_[% rowcount %]" value="[% rowcount %]">
    <tr valign="top" class="listrow[% IF odd %]1[% ELSE %]0[% END %]">
     <td>
      <input type="hidden" name="dunning_level_[% rowcount %]" value="[% rowcount %]">
index f1040d3ca912834de776db767acc861c40669d2e..337fae76822467eb27efdf4b6c5ac22d7a71a9da 100644 (file)
@@ -53,6 +53,7 @@
     [% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %]
    [% END %]
 
     [% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %]
    [% END %]
 
+   [%- UNLESS rowcount %][% SET rowcount = '1' %][% END -%]
    <tr valign="top" class="listrow[% IF odd %]1[% ELSE %]0[% END %]">
     <td>
      <input type="hidden" name="dunning_level_[% rowcount %]" value="[% rowcount %]">
    <tr valign="top" class="listrow[% IF odd %]1[% ELSE %]0[% END %]">
     <td>
      <input type="hidden" name="dunning_level_[% rowcount %]" value="[% rowcount %]">