X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-input-beginning_ending.html;h=8a1dd62a998d60b124d489d16b43598954a2fe98;hb=9d77a21db3642ca66d9a0e545b804b7e6b4090ee;hp=9c067dbea26ac0109756504ccd25e74522fdddc9;hpb=ab9e07a6507647e1aaf59df75edc54b40a745643;p=freeside.git diff --git a/httemplate/elements/tr-input-beginning_ending.html b/httemplate/elements/tr-input-beginning_ending.html index 9c067dbea..8a1dd62a9 100644 --- a/httemplate/elements/tr-input-beginning_ending.html +++ b/httemplate/elements/tr-input-beginning_ending.html @@ -1,7 +1,9 @@ - - - - +% unless ( $m->count == $previous_request_count ) { + + + + +% } From date: @@ -43,6 +45,11 @@ +<%once> + +my $previous_request_count = ''; + + <%init> my %opt = @_; @@ -61,3 +68,8 @@ if ( $opt{'input_time'} ) { } +<%cleanup> + +$previous_request_count = $m->count; + +