show a name on residential prospect quotations, RT#75990
[freeside.git] / FS / FS / Template_Mixin.pm
index b5f7aaa..758b8ce 100644 (file)
@@ -603,6 +603,9 @@ sub print_generic {
     'total_pages'     => 1,
 
   );
+
+  #quotations have $name
+  $invoice_data{'name'} = $invoice_data{'payname'};
  
   #localization
   $invoice_data{'emt'} = sub { &$escape_function($self->mt(@_)) };