Revision acf18ea9
Von Philip Reetz vor mehr als 15 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
800 | 800 |
<input class=submit type=submit name=action value="| . $locale->text('Delete') . qq|"> |
801 | 801 |
|; |
802 | 802 |
} |
803 |
|
|
803 |
print(STDERR "TOTALPAID $total_paid\n"); |
|
804 | 804 |
# ToDO: - insert a global check for stornos, so that a storno is only possible a limited time after saving it |
805 | 805 |
print qq| <input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|"> | |
806 |
if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ap') && !IS->is_storno(\%myconfig, $form, 'ap', $form->{id})); |
|
806 |
if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ap') && !IS->is_storno(\%myconfig, $form, 'ap', $form->{id}) && (($total_paid == 0) || ($total_paid eq "")));
|
|
807 | 807 |
|
808 | 808 |
print qq| <input class=submit type=submit name=action value="| . $locale->text('Post Payment') . qq|"> |
809 | 809 |
<input class=submit type=submit name=action value="| . $locale->text('Use As Template') . qq|"> |
Auch abrufbar als: Unified diff
Bug #780 behoben, generell eine Ueberpruefung eingefuehrt, ob bereits Zahlungen existieren. In dem Fall wird Storno grundsaetzlich unterbunden