X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FAP.pm;h=3bd658cb570a0a1794465887cf3d9e15364598dd;hb=cae6316e718234083b892b042e61714ceb13b0ca;hp=0f2e8ee0736b5ce46e301af8141c380e8e09407a;hpb=1118dab96d2c42e872c9782b4374709d52b20653;p=kivitendo-erp.git diff --git a/SL/AP.pm b/SL/AP.pm index 0f2e8ee07..3bd658cb5 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -48,6 +48,8 @@ sub post_transaction { my ($null, $taxrate, $amount); my $exchangerate = 0; + $form->{defaultcurrency} = $form->get_default_currency($myconfig); + ($null, $form->{department_id}) = split(/--/, $form->{department}); $form->{department_id} *= 1;