Index: openacs-4/packages/invoices/tcl/invoice-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/tcl/invoice-procs.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/invoices/tcl/invoice-procs.tcl 6 Sep 2005 22:59:05 -0000 1.3 +++ openacs-4/packages/invoices/tcl/invoice-procs.tcl 15 Sep 2005 14:39:45 -0000 1.4 @@ -192,7 +192,9 @@ set category [lang::util::localize [category::get_name $category_id]] } - set file_url [parameter::get -parameter MailSendBoxFileP] + set file_url [parameter::get -parameter InvoiceTemplate] + + # We need to add the locale to the InvoiceTemplate name, but for the time being we don't care. if {![empty_string_p $file_url]} { set file [open $file_url] fconfigure $file -translation binary