]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Endloses Aneinanderhängen von Währungen unterbinden
authorMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Wed, 6 Jul 2016 17:19:59 +0000 (19:19 +0200)
committerMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Wed, 6 Jul 2016 17:19:59 +0000 (19:19 +0200)
Bei mehrfachem "Erneuern" werden alle Währungen nocheinmals angehängt.
Dies wird nun unterbunden

bin/mozilla/ap.pl
bin/mozilla/ar.pl

index 0afc2d8426989b992910fb7825e6f354c210d7a4..28fa8d2ede9616a8e4fc6a127d67af05219b5c87 100644 (file)
@@ -162,6 +162,7 @@ sub create_links {
   # currencies
   $form->{defaultcurrency} = $form->get_default_currency(\%myconfig);
 
   # currencies
   $form->{defaultcurrency} = $form->get_default_currency(\%myconfig);
 
+  $form->{selectcurrency} = "";
   map { my $quoted = H($_); $form->{selectcurrency} .= "<option value=\"${quoted}\">${quoted}\n" } $form->get_all_currencies(\%myconfig);
 
   # vendors
   map { my $quoted = H($_); $form->{selectcurrency} .= "<option value=\"${quoted}\">${quoted}\n" } $form->get_all_currencies(\%myconfig);
 
   # vendors
index 70e1c8bb008d20884201114ee8b0c4f1e9da30ef..c02842ffc8fe924b11c709436fce174f77e71f3d 100644 (file)
@@ -171,6 +171,7 @@ sub create_links {
   # currencies
   $form->{defaultcurrency} = $form->get_default_currency(\%myconfig);
 
   # currencies
   $form->{defaultcurrency} = $form->get_default_currency(\%myconfig);
 
+  $form->{selectcurrency} = "";
   map { $form->{selectcurrency} .= "<option>$_\n" } $form->get_all_currencies(\%myconfig);
 
   # customers
   map { $form->{selectcurrency} .= "<option>$_\n" } $form->get_all_currencies(\%myconfig);
 
   # customers