diff options
| author | cvs2git <cvs2git> | 2006-01-05 09:34:30 +0000 |
|---|---|---|
| committer | cvs2git <cvs2git> | 2006-01-05 09:34:30 +0000 |
| commit | 0c525f3ba7b2b6730b8939b950e4d76dd16802a9 (patch) | |
| tree | 9d0c5411f52238759ca3484d5ecc036dc6905414 /httemplate/search/reg_code.html | |
| parent | 8f5c91d6c7a8dc85a8b6768a149b4c7b3e144c38 (diff) | |
This commit was manufactured by cvs2svn to create tag 'SQL_LEDGER_2_4_4'.SQL_LEDGER_2_4_4
Diffstat (limited to 'httemplate/search/reg_code.html')
| -rw-r--r-- | httemplate/search/reg_code.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/httemplate/search/reg_code.html b/httemplate/search/reg_code.html deleted file mode 100644 index 52a99ff66..000000000 --- a/httemplate/search/reg_code.html +++ /dev/null @@ -1,36 +0,0 @@ -<% - -my $agentnum = $cgi->param('agentnum'); -$agentnum =~ /^(\d+)$/ or eidiot "illegal agentnum $agentnum"; -$agentnum = $1; -my $agent = qsearchs('agent', { 'agentnum' => $agentnum } ); - -my $count_query = "SELECT COUNT(*) FROM reg_code WHERE agentnum = $agentnum"; - -%><%= include( 'elements/search.html', - 'title' => 'Unused Registration Codes for '. - $agent->agent, - 'name' => 'registration codes', - 'query' => { 'table' => 'reg_code', - 'hashref' => { 'agentnum' => $agentnum, }, - }, - 'count_query' => $count_query, - #'redirect' => $link, - 'header' => [ qw(Code Packages) ], - 'fields' => [ - 'code', - sub { - map { - qq!<A HREF="${p}edit/part_pkg.cgi?!. $_->pkgpart. '">'. - $_->pkg. ' - '. $_->comment. - '</A><BR>' - } $_[0]->part_pkg - }, - ], - 'links' => [ - '', - #$plink, - '', - ], - ) -%> |
