X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fagent_type.cgi;h=f16d76ce027791de9f14a34b135e7ab4d7541ae7;hb=d9edf24e9d3e1fd87a23359a7679ef6d6637c00d;hp=bfef42fead3e92031d165800f963363f3994c11d;hpb=2a6aa24137ddd389c1e644f5ece325c5b5dbaf3a;p=freeside.git diff --git a/httemplate/edit/agent_type.cgi b/httemplate/edit/agent_type.cgi index bfef42fea..f16d76ce0 100755 --- a/httemplate/edit/agent_type.cgi +++ b/httemplate/edit/agent_type.cgi @@ -1,22 +1,4 @@ -% -% -%my($agent_type); -%if ( $cgi->param('error') ) { -% $agent_type = new FS::agent_type ( { -% map { $_, scalar($cgi->param($_)) } fields('agent') -% } ); -%} elsif ( $cgi->keywords ) { #editing -% my( $query ) = $cgi->keywords; -% $query =~ /^(\d+)$/; -% $agent_type=qsearchs('agent_type',{'typenum'=>$1}); -%} else { #adding -% $agent_type = new FS::agent_type {}; -%} -%my $action = $agent_type->typenum ? 'Edit' : 'Add'; -% -% <% include("/elements/header.html","$action Agent Type", menubar( - 'Main Menu' => "$p", 'View all agent types' => "${p}browse/agent_type.cgi", )) %> @@ -25,20 +7,36 @@