X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fprepay_credit.html;h=36403511b19b25b53f4680c74d5593c0a49c498a;hp=ab6490d33f5353f8c69afdf00817369f86a61b2c;hb=c3da5cf1caa244937d280e0f406927103beef148;hpb=15777da47bab33e8f0021e6dd9aa6b434fa9be30 diff --git a/httemplate/search/prepay_credit.html b/httemplate/search/prepay_credit.html index ab6490d33..36403511b 100644 --- a/httemplate/search/prepay_credit.html +++ b/httemplate/search/prepay_credit.html @@ -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', @@ -20,17 +19,17 @@ }, 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' ] : ''; }, ], )