work around CSV brokenness
authorjeff <jeff>
Fri, 19 Jan 2007 23:00:36 +0000 (23:00 +0000)
committerjeff <jeff>
Fri, 19 Jan 2007 23:00:36 +0000 (23:00 +0000)
httemplate/misc/download-batch.cgi

index 74805b2..371f17d 100644 (file)
 %
 %  } elsif ($format eq "csv-chase_canada-E-xactBatch"){
 %
-%    
-<% $cust_pay_batch->paybatchnum %>,<% $cust_pay_batch->custnum %>,<% $cust_pay_batch->invnum %>,"<% $cust_pay_batch->payname %>",01,<% $cust_pay_batch->payinfo %>,<% $cust_pay_batch->amount %>,<% $exp %>,,
+%  my $payname=$cust_pay_batch->payname; $payname =~ tr/",/  /; #payinfo too? :P
+<% $cust_pay_batch->paybatchnum %>,<% $cust_pay_batch->custnum %>,<% $cust_pay_batch->invnum %>,"<% $payname %>",01,<% $cust_pay_batch->payinfo %>,<% $cust_pay_batch->amount %>,<% $exp %>,,
 %
 %
 %  } else {