X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fvk.pl;h=e871053a30cf39702e00dcd88c5a2df1a3b0d781;hb=24127d6f50fadaafaf676423cfab04556271db89;hp=1327b2161b67e13cdcc7b9fa9e37315f40956916;hpb=e87f4016fbce09fc32b3b7ca18b78f364ad6ee6f;p=kivitendo-erp.git diff --git a/bin/mozilla/vk.pl b/bin/mozilla/vk.pl index 1327b2161..e871053a3 100644 --- a/bin/mozilla/vk.pl +++ b/bin/mozilla/vk.pl @@ -54,7 +54,6 @@ sub search_invoice { my $form = $main::form; my %myconfig = %main::myconfig; my $locale = $main::locale; - my $cgi = $main::cgi; my ($customer, $department); @@ -100,7 +99,7 @@ sub invoice_transactions { # Nichts führt, daher diese Zwischenlösung &check_name('customer', no_select => 1); - + # $form->{customer_id} wurde schon von check_name gesetzt $form->{customername} = $form->{customer}; }; @@ -312,7 +311,7 @@ sub invoice_transactions { if ( $subtotals2{qty} != 0 ) { $subtotals2{sellprice} = $subtotals2{sellprice_total} / $subtotals2{qty}; - $subtotals2{lastcost} = $subtotals2{lastcost_total} / $subtotals2{qty}; + $subtotals2{lastcost} = $subtotals2{lastcost_total} / $subtotals2{qty}; } else { $subtotals2{sellprice} = 0; $subtotals2{lastcost} = 0;