From: Moritz Bunkus Date: Mon, 6 Jan 2014 18:05:32 +0000 (+0100) Subject: Merge branch 'installationscheck-devel-module-2170' X-Git-Tag: release-3.1.0beta1~22^2~40^2~3^2 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/e94625b35f4b17a63425a12b9ca14797b5bb5847?hp=86b72aaaada05d5eb4b46f557b5fd0b6b5718b97 Merge branch 'installationscheck-devel-module-2170' --- diff --git a/bin/mozilla/ca.pl b/bin/mozilla/ca.pl index c2fd6a218..4bef1d2ee 100644 --- a/bin/mozilla/ca.pl +++ b/bin/mozilla/ca.pl @@ -153,7 +153,7 @@ sub list { $::lxdebug->enter_sub; $::auth->assert('report'); - $::form->{title} = $::locale->text('List Transactions') . " - " . $::locale->text('Account') . " $::form->{accno}"; + $::form->{title} = $::locale->text('List Transactions') . " - " . $::locale->text('Account') . " $::form->{accno}" . " - " . $::form->{description}; $::form->header; print $::form->parse_html_template('ca/list', { diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 5a3f5e859..bad6e4fff 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -328,7 +328,6 @@ sub form_header { shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2 message email subject cc bcc taxaccounts cursor_fokus convert_from_do_ids convert_from_oe_ids show_details gldate - rowcount callback draft_id draft_description vendor_discount ), @custom_hiddens, map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts}]; diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 165030348..cf3ac5768 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -378,7 +378,7 @@ sub form_header { shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2 shiptocp_gender message email subject cc bcc taxaccounts cursor_fokus convert_from_do_ids convert_from_oe_ids - show_details rowcount callback draft_id draft_description customer_discount gldate + show_details ), @custom_hiddens, map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts}]; diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index f08a5249a..3ee71e67f 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -434,12 +434,14 @@ sub form_header { $form->{javascript} .= qq||; $form->header; - + if ($form->{CFDD_shipto} && $form->{CFDD_shipto_id} ) { + $form->{shipto_id} = $form->{CFDD_shipto_id}; + } $TMPL_VAR{HIDDENS} = [ map { name => $_, value => $form->{$_} }, qw(id action type vc formname media format proforma queued printed emailed title creditlimit creditremaining tradediscount business max_dunning_level dunning_amount shiptoname shiptostreet shiptozipcode - shiptocity shiptocountry shiptocontact shiptophone shiptofax + CFDD_shipto shipto_id CFDD_shipto_id shiptocity shiptocountry shiptocontact shiptophone shiptofax shiptodepartment_1 shiptodepartment_2 shiptoemail shiptocp_gender message email subject cc bcc taxpart taxservice taxaccounts cursor_fokus show_details), @@ -1670,6 +1672,7 @@ sub check_for_direct_delivery_yes { delete @{$form}{grep /^shipto/, keys %{ $form }}; map { s/^CFDD_//; $form->{$_} = $form->{"CFDD_${_}"} } grep /^CFDD_/, keys %{ $form }; $form->{shipto} = 1; + $form->{CFDD_shipto} = 1; purchase_order(); $main::lxdebug->leave_sub(); } @@ -1683,6 +1686,7 @@ sub check_for_direct_delivery_no { $form->{direct_delivery_checked} = 1; delete @{$form}{grep /^shipto/, keys %{ $form }}; + $form->{CFDD_shipto} = 0; purchase_order(); $main::lxdebug->leave_sub(); diff --git a/templates/webpages/ca/list.html b/templates/webpages/ca/list.html index e779a66e6..1bd5ff666 100644 --- a/templates/webpages/ca/list.html +++ b/templates/webpages/ca/list.html @@ -5,7 +5,7 @@
[% L.hidden_tag('accno', accno) %] -[% L.hidden_tag('decription', description) %] +[% L.hidden_tag('description', description) %] [% L.hidden_tag('sort', 'transdate') %] [% L.hidden_tag('accounttype', accounttype) %] diff --git a/templates/webpages/ir/form_footer.html b/templates/webpages/ir/form_footer.html index 2047d5981..ad241a17a 100644 --- a/templates/webpages/ir/form_footer.html +++ b/templates/webpages/ir/form_footer.html @@ -150,4 +150,10 @@ [% END %] [% END %] + + + + + +
diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html index 3cffe0590..45664520d 100644 --- a/templates/webpages/is/form_footer.html +++ b/templates/webpages/is/form_footer.html @@ -191,4 +191,10 @@ [% END %] [% END %] + + + + + +