combine ticket notification scrips, #15353
[freeside.git] / httemplate / search / prepay_credit.html
index ab6490d..3640351 100644 (file)
@@ -2,7 +2,6 @@
                  'title'       => 'Unused Prepaid Cards'.
                                   ($agent ? ' for '. $agent->agent : ''),
                  'menubar'     => [
-                   'Main menu'      => $p,
                    'Generate cards' => $p.'edit/prepay_credit.cgi',
                  ],
                  'name'        => 'prepaid cards',
                        },
                    sub { my $c = shift;
                          $c->upbytes 
-                           ? FS::UI::Web::bytecount_unexact($c->upbytes)
+                           ? FS::UI::bytecount::bytecount_unexact($c->upbytes)
                            : ''
                        },
                    sub { my $c = shift;
                          $c->downbytes
-                           ? FS::UI::Web::bytecount_unexact($c->downbytes)
+                           ? FS::UI::bytecount::bytecount_unexact($c->downbytes)
                            : ''
                        },
                    sub { my $c = shift;
                          $c->totalbytes
-                           ? FS::UI::Web::bytecount_unexact($c->totalbytes)
+                           ? FS::UI::bytecount::bytecount_unexact($c->totalbytes)
                            : ''
                        },
                    sub { my $agent = shift->agent;
@@ -45,7 +44,7 @@
                    '',
                    '',
                    sub { my $agent = shift->agent;
-                         $agent ? [ "${p}view/agent.cgi?", 'agentnum' ] : '';
+                         $agent ? [ "${p}edit/agent.cgi?", 'agentnum' ] : '';
                        },
                  ],
       )