projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Schreibfehler.
[kivitendo-erp.git]
/
bin
/
mozilla
/
ap.pl
diff --git
a/bin/mozilla/ap.pl
b/bin/mozilla/ap.pl
index
c6eda1b
..
cd5eda5
100644
(file)
--- a/
bin/mozilla/ap.pl
+++ b/
bin/mozilla/ap.pl
@@
-130,6
+130,9
@@
sub create_links {
# build the popup menus
$form->{taxincluded} = ($form->{id}) ? $form->{taxincluded} : "checked";
# build the popup menus
$form->{taxincluded} = ($form->{id}) ? $form->{taxincluded} : "checked";
+ # notes
+ $form->{notes} = $form->{intnotes} unless $form->{notes};
+
# currencies
@curr = split(/:/, $form->{currencies});
chomp $curr[0];
# currencies
@curr = split(/:/, $form->{currencies});
chomp $curr[0];
@@
-386,7
+389,9
@@
sub form_header {
$vendor =
($form->{selectvendor})
$vendor =
($form->{selectvendor})
- ? qq|<select name=vendor>$form->{selectvendor}</select>|
+ ? qq|<select name="vendor"
+onchange="document.getElementById('update_button').click();">$form->{
+selectvendor } </select>|
: qq|<input name=vendor value="$form->{vendor}" size=35>|;
my @old_project_ids = ();
: qq|<input name=vendor value="$form->{vendor}" size=35>|;
my @old_project_ids = ();
@@
-843,7
+848,7
@@
sub form_footer {
$transdate = $form->datetonum($form->{transdate}, \%myconfig);
$closedto = $form->datetonum($form->{closedto}, \%myconfig);
$transdate = $form->datetonum($form->{transdate}, \%myconfig);
$closedto = $form->datetonum($form->{closedto}, \%myconfig);
- print qq|<input class=
submit type=submit name=action
value="|
+ print qq|<input class=
"submit" type="submit" name="action" id="update_button"
value="|
. $locale->text('Update') . qq|">|;
if ($form->{id}) {
. $locale->text('Update') . qq|">|;
if ($form->{id}) {