un-break HTML invoice editor by using a regular textarea for now
authorIvan Kohler <ivan@freeside.biz>
Mon, 25 Jun 2012 18:55:35 +0000 (11:55 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 25 Jun 2012 18:55:35 +0000 (11:55 -0700)
httemplate/edit/invoice_template.html
httemplate/elements/menu.html

index 9cec62c..3553c61 100644 (file)
@@ -8,7 +8,8 @@
 <FORM ACTION="process/invoice_template.html" METHOD="POST">
 <INPUT TYPE="hidden" NAME="confname" VALUE="<% $confname %>">
 
-% if ( $type eq 'html' ) {
+% #if ( $type eq 'html' ) {
+% if ( 0 ) { #this seems to broken, using a text editor for everything for now
 
   <% include('/elements/htmlarea.html',
                'field'      => 'value',
index 8923451..d583816 100644 (file)
@@ -531,7 +531,7 @@ $config_billing{'Billing events'} = [ $fsurl.'browse/part_event.html', 'Billing
     || $curuser->access_right('Edit global billing events');
 if ( $curuser->access_right('Configuration') ) {
   #$config_billing{'Invoice events'}         = [ $fsurl.'browse/part_bill_event.cgi', 'Deprecated, old-style actions for overdue invoices' ];
-#this doesn't work right#  $config_billing{'Invoice templates'}      = [ $fsurl.'browse/invoice_template.html', 'Edit templates for HTML, plaintext and typeset invoices' ];
+  $config_billing{'Invoice templates'}      = [ $fsurl.'browse/invoice_template.html', 'Edit templates for HTML, plaintext and typeset invoices' ];
   $config_billing{'Prepaid cards'}          = [ $fsurl.'search/prepay_credit.html', 'View outstanding cards, generate new cards' ];
   $config_billing{'Call rates and regions'} = [ \%config_billing_rates, 'Manage rate plans, regions and prefixes for VoIP and call billing' ];