From b6913792325e4e09d6da8bf4b6af10aa8b7ff9cf Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 25 Jun 2012 11:55:35 -0700 Subject: [PATCH] un-break HTML invoice editor by using a regular textarea for now --- httemplate/edit/invoice_template.html | 3 ++- httemplate/elements/menu.html | 2 +- 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 @@
-% 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' ]; -- 2.11.0