X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/519f43a20addf13a264c270f3a4d442f2c187be5..0a50b37c:/bin/mozilla/ir.pl diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index d8de82099..5b62ea5c4 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -335,7 +335,7 @@ sub form_header { id action type media format queued printed emailed title vc discount title creditlimit creditremaining tradediscount business closedto locked shipped storno storno_id max_dunning_level dunning_amount - shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax + shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptogln shiptocontact shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2 message email subject cc bcc taxaccounts cursor_fokus convert_from_do_ids convert_from_oe_ids show_details gldate useasnew ), @custom_hiddens, @@ -354,7 +354,7 @@ sub form_header { } sub _sort_payments { - my @fields = qw(acc_trans_id gldate datepaid source memo paid AR_paid); + my @fields = qw(acc_trans_id gldate datepaid source memo paid AP_paid); my @payments = grep { $_->{paid} != 0 } map { @@ -525,7 +525,7 @@ sub update { if ($rows > 1) { select_item(mode => 'IR', pre_entered_qty => $form->{"qty_$i"}); - ::end_of_request(); + $::dispatcher->end_request; } else { @@ -746,7 +746,7 @@ sub post { # if the vendor changed get new values if (&check_name('vendor')) { &update; - ::end_of_request(); + $::dispatcher->end_request; } if ($myconfig{mandatory_departments} && !$form->{department_id}) {