X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fis.pl;h=c5d5f89867a675a2c456501c3efe1511e37f1bee;hb=79b83b02cf67cf4b701eb1654fa274095d84745a;hp=5c55ad69b8bb7cc6adc5225743cc10212e59f1ea;hpb=140dec80499ff0b348bc0bf6d46d2987bc28b993;p=kivitendo-erp.git diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 5c55ad69b..c5d5f8986 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -134,7 +134,6 @@ sub invoice_links { # create links $form->{webdav} = $::lx_office_conf{features}->{webdav}; - $form->{lizenzen} = $::lx_office_conf{features}->{lizenzen}; $form->create_links("AR", \%myconfig, "customer"); @@ -365,7 +364,7 @@ sub form_header { title creditlimit creditremaining tradediscount business closedto locked shipped storno storno_id max_dunning_level dunning_amount shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax - shiptoemail shiptodepartment_1 shiptodepartment_2 message email subject cc bcc taxaccounts cursor_fokus + shiptoemail shiptodepartment_1 shiptodepartment_2 shiptocp_gender message email subject cc bcc taxaccounts cursor_fokus convert_from_do_ids convert_from_oe_ids ), @custom_hiddens, map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts}]; @@ -473,7 +472,7 @@ sub update { $main::auth->assert('invoice_edit'); - my ($recursive_call) = shift; + my ($recursive_call) = @_; $form->{exchangerate} = $form->parse_amount(\%myconfig, $form->{exchangerate}) unless $recursive_call; @@ -523,7 +522,7 @@ sub update { if ($rows > 1) { - &select_item; + select_item(mode => 'IS'); ::end_of_request(); } else { @@ -562,16 +561,6 @@ sub update { $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"}); - if ($::lx_office_conf{features}->{lizenzen}) { - if ($form->{"inventory_accno_$i"} ne "") { - $form->{"lizenzen_$i"} = qq||; - foreach my $item (@{ $form->{LIZENZEN}{ $form->{"id_$i"} } }) { - $form->{"lizenzen_$i"} .= qq||; - } - $form->{"lizenzen_$i"} .= qq||; - } - } - # get pricegroups for parts IS->get_pricegroups_for_parts(\%myconfig, \%$form);