From: Sven Schöling Date: Fri, 30 Oct 2009 15:39:52 +0000 (+0100) Subject: is: Payment_terms und duedate ajax gefixt. X-Git-Tag: release-2.6.1beta1~113^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f2354caba6501475fb0f09c8fb1fe970ea430c22;p=kivitendo-erp.git is: Payment_terms und duedate ajax gefixt. --- diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 0567e672e..530c4776e 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -45,7 +45,7 @@ require "bin/mozilla/drafts.pl"; use strict; my $edit; -my $payment; +#my $payment; my $print_post; 1; @@ -289,15 +289,6 @@ sub form_header { $form->{defaultcurrency} = $form->get_default_currency(\%myconfig); $form->{radier} = ($form->current_date(\%myconfig) eq $form->{gldate}) ? 1 : 0; - $payment = qq||; - foreach my $item (@{ $form->{payment_terms} }) { - if ($form->{payment_id} eq $item->{id}) { - $payment .= qq||; - } else { - $payment .= qq||; - } - } - my $set_duedate_url = "$form->{script}?action=set_duedate"; push @ { $form->{AJAX} }, new CGI::Ajax( 'set_duedate' => $set_duedate_url ); diff --git a/templates/webpages/is/form_footer_de.html b/templates/webpages/is/form_footer_de.html index a96a90463..7e2a7a39b 100644 --- a/templates/webpages/is/form_footer_de.html +++ b/templates/webpages/is/form_footer_de.html @@ -19,12 +19,15 @@ - - diff --git a/templates/webpages/is/form_footer_master.html b/templates/webpages/is/form_footer_master.html index b1719f4ac..a3d53fd5a 100644 --- a/templates/webpages/is/form_footer_master.html +++ b/templates/webpages/is/form_footer_master.html @@ -19,12 +19,15 @@ - -