summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/cp.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/cp.pl b/bin/cp.pl
index 3c2e6cb2..c2836221 100644
--- a/bin/cp.pl
+++ b/bin/cp.pl
@@ -1393,11 +1393,6 @@ sub print_payments {
%oldform = ();
for ( keys %$form ) { $oldform{$_} = $form->{$_} }
- @a =
- qw(name company address text_amount text_decimal address1 address2 city state zipcode country memo);
- for (@a) { $temp{$_} = $form->{$_} }
-
- $form->format_string(@a);
$ok = 0;
$j = 0;
@@ -1465,6 +1460,11 @@ sub print_form {
( $form->{yyyy}, $form->{mm}, $form->{dd} ) = $datepaid =~ /(....)(..)(..)/;
&{"$form->{vc}_details"};
+ @a =
+ qw(name company address text_amount text_decimal address1 address2 city state zipcode country memo);
+ for (@a) { $temp{$_} = $form->{$_} }
+
+ $form->format_string(@a);
$form->{templates} = "$myconfig{templates}";
$form->{IN} = "$form->{formname}.tex";