summaryrefslogtreecommitdiff
path: root/bin/cp.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cp.pl')
-rwxr-xr-xbin/cp.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/cp.pl b/bin/cp.pl
index 4c9b1c86..356bc7af 100755
--- a/bin/cp.pl
+++ b/bin/cp.pl
@@ -1392,11 +1392,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;
@@ -1464,6 +1459,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";