X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fagent_type.cgi;h=f16d76ce027791de9f14a34b135e7ab4d7541ae7;hp=8a6fbc25502bb194cb1132141eeadf7231733058;hb=ac8410cdb67639afeb84c84e975fffadf3e6cce1;hpb=63a268637b2d51a8766412617724b9436439deb6 diff --git a/httemplate/edit/agent_type.cgi b/httemplate/edit/agent_type.cgi index 8a6fbc255..f16d76ce0 100755 --- a/httemplate/edit/agent_type.cgi +++ b/httemplate/edit/agent_type.cgi @@ -7,20 +7,36 @@
+ + Agent Type #<% $agent_type->typenum || "(NEW)" %> + + + + + + + + + + + + + + +
Agent Type
Disabledisabled eq 'Y' ? ' CHECKED' : '' %>>

-Agent Type - -

+ +Package definitions that agents of this type can sell + -Select which packages agents of this type may sell to customers
-<% ntable("#cccccc", 2) %>
+
<% include('/elements/checkboxes-table.html', 'source_obj' => $agent_type, 'link_table' => 'type_pkgs', 'target_table' => 'part_pkg', - 'name_callback' => sub { $_[0]->pkg_comment(nopkgpart => 1); }, + 'name_callback' => sub { encode_entities( $_[0]->pkg_comment(nopkgpart => 1) ); }, 'target_link' => $p.'edit/part_pkg.cgi?', 'disable-able' => 1,