[freeside-commits] branch master updated. b6913792325e4e09d6da8bf4b6af10aa8b7ff9cf

Ivan ivan at 420.am
Mon Jun 25 11:55:36 PDT 2012


The branch, master has been updated
       via  b6913792325e4e09d6da8bf4b6af10aa8b7ff9cf (commit)
      from  905f2144894749fc95baab979e176dddac9073c2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b6913792325e4e09d6da8bf4b6af10aa8b7ff9cf
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jun 25 11:55:35 2012 -0700

    un-break HTML invoice editor by using a regular textarea for now

diff --git a/httemplate/edit/invoice_template.html b/httemplate/edit/invoice_template.html
index 9cec62c..3553c61 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 8923451..d583816 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' ];
 

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/invoice_template.html |    3 ++-
 httemplate/elements/menu.html         |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list