From f2354caba6501475fb0f09c8fb1fe970ea430c22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 30 Oct 2009 16:39:52 +0100 Subject: [PATCH] is: Payment_terms und duedate ajax gefixt. --- bin/mozilla/is.pl | 11 +---------- templates/webpages/is/form_footer_de.html | 15 +++++++++------ templates/webpages/is/form_footer_master.html | 15 +++++++++------ 3 files changed, 19 insertions(+), 22 deletions(-) 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 @@ - - -- 2.20.1