Revision 69f32836
Von Bernd Blessmann vor fast 13 Jahren hinzugefügt
bin/mozilla/ir.pl | ||
---|---|---|
308 | 308 |
$form->{currency} = $form->{defaultcurrency} unless $form->{currency}; |
309 | 309 |
$TMPL_VAR{show_exchangerate} = $form->{currency} ne $form->{defaultcurrency}; |
310 | 310 |
$TMPL_VAR{currencies} = NTI($cgi->popup_menu('-name' => 'currency', '-default' => $form->{"currency"}, |
311 |
'-values' => \@values, '-labels' => \%labels)) if scalar @values; |
|
311 |
'-values' => \@values, '-labels' => \%labels, |
|
312 |
'-onchange' => "document.getElementById('update_button').click();" |
|
313 |
)) if scalar @values; |
|
312 | 314 |
push @custom_hiddens, "forex"; |
313 | 315 |
push @custom_hiddens, "exchangerate" if $form->{forex}; |
314 | 316 |
|
bin/mozilla/is.pl | ||
---|---|---|
332 | 332 |
$form->{currency} = $form->{defaultcurrency} unless $form->{currency}; |
333 | 333 |
$form->{show_exchangerate} = $form->{currency} ne $form->{defaultcurrency}; |
334 | 334 |
$TMPL_VAR{currencies} = NTI($::request->{cgi}->popup_menu('-name' => 'currency', '-default' => $form->{"currency"}, |
335 |
'-values' => \@values, '-labels' => \%labels)) if scalar @values; |
|
335 |
'-values' => \@values, '-labels' => \%labels, |
|
336 |
'-onchange' => "document.getElementById('update_button').click();" |
|
337 |
)) if scalar @values; |
|
336 | 338 |
push @custom_hiddens, "forex"; |
337 | 339 |
push @custom_hiddens, "exchangerate" if $form->{forex}; |
338 | 340 |
|
bin/mozilla/oe.pl | ||
---|---|---|
361 | 361 |
$form->{currency} = $form->{defaultcurrency} unless $form->{currency}; |
362 | 362 |
$TMPL_VAR{show_exchangerate} = $form->{currency} ne $form->{defaultcurrency}; |
363 | 363 |
$TMPL_VAR{currencies} = NTI($cgi->popup_menu('-name' => 'currency', '-default' => $form->{"currency"}, |
364 |
'-values' => \@values, '-labels' => \%labels)) if scalar @values; |
|
364 |
'-values' => \@values, '-labels' => \%labels, |
|
365 |
'-onchange' => "document.getElementById('update_button').click();" |
|
366 |
)) if scalar @values; |
|
365 | 367 |
push @custom_hiddens, "forex"; |
366 | 368 |
push @custom_hiddens, "exchangerate" if $form->{forex}; |
367 | 369 |
|
Auch abrufbar als: Unified diff
Nach Ändern der Währung im Verkauf und Einkauf Erneuern auslösen.