Revision 0e04eb10
Von Sven Schöling vor etwa 18 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
}
|
||
|
||
# ToDO: - insert a global check for stornos, so that a storno is only possible a limited time after saving it
|
||
print qq|<input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|"> |
|
||
print qq| <input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|"> |
|
||
if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ap') && !IS->is_storno(\%myconfig, $form, 'ap'));
|
||
|
||
print qq| <input class=submit type=submit name=action value="| . $locale->text('Post Payment') . qq|">
|
||
... | ... | |
}
|
||
# button for saving history
|
||
if($form->{id} ne "") {
|
||
print qq| <input type="button" class="submit" onclick="set_history_window($form->{id});" name="history" id="history" value="| . $locale->text('history') . qq|">|;
|
||
print qq| <input type="button" class="submit" onclick="set_history_window($form->{id});" name="history" id="history" value="| . $locale->text('history') . qq|"> |;
|
||
}
|
||
# /button for saving history
|
||
# mark_as_paid button
|
||
if($form->{id} ne "") {
|
||
print qq|<input type="submit" class="submit" name="action" value="|
|
||
. $locale->text('mark as paid') . qq|">|;
|
||
print qq| <input type="submit" class="submit" name="action" value="| . $locale->text('mark as paid') . qq|"> |;
|
||
}
|
||
# /mark_as_paid button
|
||
print "
|
bin/mozilla/ar.pl | ||
---|---|---|
print qq|<input class="submit" type="submit" name="action" id="update_button" value="| . $locale->text('Update') . qq|">\n|;
|
||
|
||
# ToDO: - insert a global check for stornos, so that a storno is only possible a limited time after saving it
|
||
print qq|<input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|">|
|
||
print qq| <input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|"> |
|
||
if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ar') && !IS->is_storno(\%myconfig, $form, 'ar'));
|
||
|
||
if ($form->{id}) {
|
||
... | ... | |
|
||
} else {
|
||
if ($transdate > $closedto) {
|
||
print qq|<input class=submit type=submit name=action value="| . $locale->text('Post') . qq|"> | .
|
||
print qq| <input class=submit type=submit name=action value="| . $locale->text('Post') . qq|"> | .
|
||
NTI($cgi->submit('-name' => 'action', '-value' => $locale->text('Save draft'), '-class' => 'submit'));
|
||
}
|
||
}
|
||
... | ... | |
}
|
||
# button for saving history
|
||
if($form->{id} ne "") {
|
||
print qq|<input type=button class=submit onclick=set_history_window($form->{id}); name=history id=history value=| . $locale->text('history') . qq|>|;
|
||
print qq| <input type=button class=submit onclick=set_history_window($form->{id}); name=history id=history value=| . $locale->text('history') . qq|> |;
|
||
}
|
||
# /button for saving history
|
||
# mark_as_paid button
|
Auch abrufbar als: Unified diff
Space zwischen den buttons