From: Moritz Bunkus Date: Thu, 29 Mar 2007 14:03:22 +0000 (+0000) Subject: Restfunktionalität von customertax und vendortax entfernt. X-Git-Tag: release-2.4.3^2~557 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e3bd574690299326410cef943fe8f738cc49836b;p=kivitendo-erp.git Restfunktionalität von customertax und vendortax entfernt. --- 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|