Revision a104b890
Von Moritz Bunkus vor fast 18 Jahren hinzugefügt
bin/mozilla/ir.pl | ||
---|---|---|
786 | 786 |
$closedto = $form->datetonum($form->{closedto}, \%myconfig); |
787 | 787 |
|
788 | 788 |
if ($form->{id}) { |
789 |
my $show_storno = !$form->{storno} && !IS->has_storno(\%myconfig, $form, "ap"); |
|
790 |
|
|
789 | 791 |
print qq|<input class=submit type=submit name=action value="| |
790 | 792 |
. $locale->text('Post Payment') . qq|"> |
791 | 793 |
|; |
792 | 794 |
print qq|<input class=submit type=submit name=action value="| |
793 | 795 |
. $locale->text('Storno') . qq|"> |
794 |
| unless ($form->{storno});
|
|
796 |
| if ($show_storno);
|
|
795 | 797 |
if ($form->{radier}) { |
796 | 798 |
print qq| |
797 | 799 |
<input class=submit type=submit name=action value="| |
bin/mozilla/is.pl | ||
---|---|---|
1102 | 1102 |
$closedto = $form->datetonum($form->{closedto}, \%myconfig); |
1103 | 1103 |
|
1104 | 1104 |
if ($form->{id}) { |
1105 |
my $show_storno = !$form->{storno} && !IS->has_storno(\%myconfig, $form, "ar"); |
|
1106 |
|
|
1105 | 1107 |
print qq| |
1106 | 1108 |
<input class=submit type=submit accesskey="u" name=action id=update_button value="| |
1107 | 1109 |
. $locale->text('Update') . qq|"> |
... | ... | |
1112 | 1114 |
<input class=submit type=submit name=action value="| |
1113 | 1115 |
. $locale->text('E-mail') . qq|"> |; |
1114 | 1116 |
print qq|<input class=submit type=submit name=action value="| |
1115 |
. $locale->text('Storno') . qq|"> | unless ($form->{storno});
|
|
1117 |
. $locale->text('Storno') . qq|"> | if ($show_storno);
|
|
1116 | 1118 |
print qq|<input class=submit type=submit name=action value="| |
1117 | 1119 |
. $locale->text('Post Payment') . qq|"> |
1118 | 1120 |
|; |
Auch abrufbar als: Unified diff
Den Storno-Button wirklich nur dann anzeigen, wenn die Rechnung noch nicht storniert wurde.