From 2dcf4554600db801c495e0d5bb99eadfb36785bd Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 20 Jan 2017 15:03:22 +0100 Subject: [PATCH] =?utf8?q?Kreditorenbuchungen:=20Kundenauswahl=20=C3=BCber?= =?utf8?q?=20Picker?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ap.pl | 32 ++++++++------------------ templates/webpages/ap/form_header.html | 13 +++-------- 2 files changed, 12 insertions(+), 33 deletions(-) diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 5388714eb..5f4611550 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -176,7 +176,6 @@ sub create_links { IR->get_vendor(\%myconfig, \%$form); $form->{$_} = $saved{$_} for keys %saved; - $form->{oldvendor} = "$form->{vendor}--$form->{vendor_id}"; $form->{rowcount} = 1; $form->{AP_chart_id} = $form->{acc_trans} && $form->{acc_trans}->{AP} ? $form->{acc_trans}->{AP}->[0]->{chart_id} : $form->{AP_links}->{AP}->[0]->{chart_id}; @@ -186,14 +185,7 @@ sub create_links { # currencies $form->{defaultcurrency} = $form->get_default_currency(\%myconfig); - # vendors - if (@{ $form->{all_vendor} || [] }) { - $form->{vendor} = qq|$form->{vendor}--$form->{vendor_id}|; - map { my $quoted = H($_->{name} . "--" . $_->{id}); $form->{selectvendor} .= "