Revision 0e04eb10
Von Sven Schöling vor mehr als 17 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
780 | 780 |
} |
781 | 781 |
|
782 | 782 |
# ToDO: - insert a global check for stornos, so that a storno is only possible a limited time after saving it |
783 |
print qq|<input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|"> | |
|
783 |
print qq| <input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|"> |
|
|
784 | 784 |
if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ap') && !IS->is_storno(\%myconfig, $form, 'ap')); |
785 | 785 |
|
786 | 786 |
print qq| <input class=submit type=submit name=action value="| . $locale->text('Post Payment') . qq|"> |
... | ... | |
793 | 793 |
} |
794 | 794 |
# button for saving history |
795 | 795 |
if($form->{id} ne "") { |
796 |
print qq| <input type="button" class="submit" onclick="set_history_window($form->{id});" name="history" id="history" value="| . $locale->text('history') . qq|">|; |
|
796 |
print qq| <input type="button" class="submit" onclick="set_history_window($form->{id});" name="history" id="history" value="| . $locale->text('history') . qq|"> |;
|
|
797 | 797 |
} |
798 | 798 |
# /button for saving history |
799 | 799 |
# mark_as_paid button |
800 | 800 |
if($form->{id} ne "") { |
801 |
print qq|<input type="submit" class="submit" name="action" value="| |
|
802 |
. $locale->text('mark as paid') . qq|">|; |
|
801 |
print qq| <input type="submit" class="submit" name="action" value="| . $locale->text('mark as paid') . qq|"> |; |
|
803 | 802 |
} |
804 | 803 |
# /mark_as_paid button |
805 | 804 |
print " |
bin/mozilla/ar.pl | ||
---|---|---|
820 | 820 |
print qq|<input class="submit" type="submit" name="action" id="update_button" value="| . $locale->text('Update') . qq|">\n|; |
821 | 821 |
|
822 | 822 |
# ToDO: - insert a global check for stornos, so that a storno is only possible a limited time after saving it |
823 |
print qq|<input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|">|
|
|
823 |
print qq| <input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|"> |
|
|
824 | 824 |
if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ar') && !IS->is_storno(\%myconfig, $form, 'ar')); |
825 | 825 |
|
826 | 826 |
if ($form->{id}) { |
... | ... | |
838 | 838 |
|
839 | 839 |
} else { |
840 | 840 |
if ($transdate > $closedto) { |
841 |
print qq|<input class=submit type=submit name=action value="| . $locale->text('Post') . qq|"> | . |
|
841 |
print qq| <input class=submit type=submit name=action value="| . $locale->text('Post') . qq|"> | .
|
|
842 | 842 |
NTI($cgi->submit('-name' => 'action', '-value' => $locale->text('Save draft'), '-class' => 'submit')); |
843 | 843 |
} |
844 | 844 |
} |
... | ... | |
849 | 849 |
} |
850 | 850 |
# button for saving history |
851 | 851 |
if($form->{id} ne "") { |
852 |
print qq|<input type=button class=submit onclick=set_history_window($form->{id}); name=history id=history value=| . $locale->text('history') . qq|>|;
|
|
852 |
print qq| <input type=button class=submit onclick=set_history_window($form->{id}); name=history id=history value=| . $locale->text('history') . qq|> |;
|
|
853 | 853 |
} |
854 | 854 |
# /button for saving history |
855 | 855 |
# mark_as_paid button |
Auch abrufbar als: Unified diff
Space zwischen den buttons