agent-virtualize VoIP rates, RT#29183
authorIvan Kohler <ivan@freeside.biz>
Tue, 20 May 2014 06:11:20 +0000 (23:11 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 20 May 2014 06:11:20 +0000 (23:11 -0700)
httemplate/edit/elements/rate_detail.html
httemplate/edit/rate.cgi

index 72a86ae..1b597fb 100644 (file)
@@ -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, '', '';
index 652c1a6..183ea8a 100644 (file)
@@ -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',
            )