Revision fb37acdc
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
331 | 331 |
$form->{salesman_id} = $form->{old_salesman_id}; |
332 | 332 |
} |
333 | 333 |
|
334 |
$form->{defaultcurrency} = $form->get_default_currency(\%myconfig); |
|
335 |
|
|
334 | 336 |
map { $form->{$_} =~ s/\"/"/g } |
335 | 337 |
qw(ordnumber quonumber shippingpoint shipvia notes intnotes shiptoname |
336 | 338 |
shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact |
... | ... | |
570 | 572 |
$form->{exchangerate} = |
571 | 573 |
$form->format_amount(\%myconfig, $form->{exchangerate}); |
572 | 574 |
|
575 |
if (!$form->{exchangerate}) { |
|
576 |
$form->{exchangerate} = ""; |
|
577 |
} |
|
578 |
|
|
573 | 579 |
if (($form->{creditlimit} != 0) && ($form->{creditremaining} < 0) && !$form->{update}) { |
574 | 580 |
$creditwarning = 1; |
575 | 581 |
} else { |
... | ... | |
1924 | 1930 |
sub save_and_close { |
1925 | 1931 |
$lxdebug->enter_sub(); |
1926 | 1932 |
|
1933 |
$form->{defaultcurrency} = $form->get_default_currency(\%myconfig); |
|
1934 |
|
|
1935 |
|
|
1927 | 1936 |
if ($form->{type} =~ /_order$/) { |
1928 | 1937 |
$form->isblank("transdate", $locale->text('Order Date missing!')); |
1929 | 1938 |
} else { |
... | ... | |
2019 | 2028 |
sub save { |
2020 | 2029 |
$lxdebug->enter_sub(); |
2021 | 2030 |
|
2031 |
$form->{defaultcurrency} = $form->get_default_currency(\%myconfig); |
|
2032 |
|
|
2033 |
|
|
2022 | 2034 |
if ($form->{type} =~ /_order$/) { |
2023 | 2035 |
$form->isblank("transdate", $locale->text('Order Date missing!')); |
2024 | 2036 |
} else { |
... | ... | |
2270 | 2282 |
$form->{rowcount}--; |
2271 | 2283 |
$form->{shipto} = 1; |
2272 | 2284 |
|
2285 |
$form->{defaultcurrency} = $form->get_default_currency(\%myconfig); |
|
2286 |
|
|
2273 | 2287 |
if ($form->{type} =~ /_order$/) { |
2274 | 2288 |
$form->{exchangerate} = $exchangerate; |
2275 | 2289 |
&create_backorder; |
Auch abrufbar als: Unified diff
Probleme mit mehreren Währungen und Wechselkursen behoben.