summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-06-25 11:55:35 -0700
committerIvan Kohler <ivan@freeside.biz>2012-06-25 11:55:35 -0700
commitb6913792325e4e09d6da8bf4b6af10aa8b7ff9cf (patch)
treed815f03ce2cb40c209096f2e756623165b6e26d6 /httemplate
parent905f2144894749fc95baab979e176dddac9073c2 (diff)
un-break HTML invoice editor by using a regular textarea for now
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/invoice_template.html3
-rw-r--r--httemplate/elements/menu.html2
2 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/edit/invoice_template.html b/httemplate/edit/invoice_template.html
index 9cec62c86..3553c617b 100644
--- a/httemplate/edit/invoice_template.html
+++ b/httemplate/edit/invoice_template.html
@@ -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',
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index 892345133..d583816e0 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -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' ];