[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 5e6aacb06ed099355ada9ebc3ddc322c40b13fea

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


The branch, FREESIDE_2_3_BRANCH has been updated
       via  5e6aacb06ed099355ada9ebc3ddc322c40b13fea (commit)
      from  3d15558284480e5c0cd9dc713de880e6099bf5fd (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 5e6aacb06ed099355ada9ebc3ddc322c40b13fea
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jun 25 11:55:36 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 cdae71f..0f85236 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -494,7 +494,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