From e3bd574690299326410cef943fe8f738cc49836b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 29 Mar 2007 14:03:22 +0000 Subject: [PATCH] =?utf8?q?Restfunktionalit=C3=A4t=20von=20customertax=20un?= =?utf8?q?d=20vendortax=20entfernt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ct.pl | 33 ++------------------------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index bfeacf45c..d532874a0 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -57,7 +57,7 @@ sub add { "$form->{script}?action=add&db=$form->{db}&path=$form->{path}&login=$form->{login}&password=$form->{password}" unless $form->{callback}; - CT->taxaccounts(\%myconfig, \%$form); + CT->populate_drop_down_boxes(\%myconfig, \%$form); &form_header; &form_footer; @@ -567,6 +567,7 @@ sub edit { # $locale->text('Edit Vendor') CT->get_tuple(\%myconfig, \%$form); + CT->populate_drop_down_boxes(\%myconfig, \%$form); # format " into " map { $form->{$_} =~ s/\"/"/g } keys %$form; @@ -712,35 +713,6 @@ sub form_header { |; - foreach $item (split / /, $form->{taxaccounts}) { - if (($form->{tax}{$item}{taxable}) || !($form->{id})) { - $taxable .= - qq|  $form->{tax}{$item}{description}|; - } else { - $taxable .= - qq|  $form->{tax}{$item}{description}|; - } - } - -##LINET - $taxable = ""; - - if ($taxable) { - $tax = qq| - - | . $locale->text('Taxable') . qq| - - - - - - - -
$taxable{taxincluded}>| . $locale->text('Tax Included') . qq|
- - -|; - } $form->{selectbusiness} = qq|