[freeside-commits] branch master updated. 462d435510a5ce6b264220d92d84902f05881ba2

Ivan ivan at 420.am
Mon May 19 23:11:21 PDT 2014


The branch, master has been updated
       via  462d435510a5ce6b264220d92d84902f05881ba2 (commit)
      from  6ab2b9f6554cea0ee23d69ce0e6c2594fad45927 (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 462d435510a5ce6b264220d92d84902f05881ba2
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon May 19 23:11:20 2014 -0700

    agent-virtualize VoIP rates, RT#29183

diff --git a/httemplate/edit/elements/rate_detail.html b/httemplate/edit/elements/rate_detail.html
index 72a86ae..1b597fb 100644
--- a/httemplate/edit/elements/rate_detail.html
+++ b/httemplate/edit/elements/rate_detail.html
@@ -204,10 +204,10 @@ if ( $ratenum ) {
                 )";
     }
     @rows = qsearch({ table     => 'rate_region',
-                      hashref   => { },
+                      hashref   => {},
                       extra_sql => $where,
                     });
-    die "no region found" if !@rows;
+    #die "no region found" if !@rows;
 
     unshift @header, 'Region', 'Prefix(es)';
     unshift @hlinks, '', '';
diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi
index 652c1a6..183ea8a 100644
--- a/httemplate/edit/rate.cgi
+++ b/httemplate/edit/rate.cgi
@@ -5,7 +5,7 @@
 
 <% include('/elements/progress-init.html',
               'OneTrueForm',
-              [ 'rate', 'preserve_rate_detail' ], # 'rate', 'min_', 'sec_' ],
+              [ 'rate', 'agentnum', 'preserve_rate_detail' ], # 'rate', 'min_', 'sec_' ],
               'process/rate.cgi',
               $p.'browse/rate.cgi',
            )

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

Summary of changes:
 httemplate/edit/elements/rate_detail.html |    4 ++--
 httemplate/edit/rate.cgi                  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list