X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Faccess_user.html;h=86ce25374caea144656777208a5063c885edb7fd;hb=8688a1fe1b157c1061e928823d81ba1b7f34cde8;hp=2b19dbf7bc982bbfae3c4d64cc4a5e059a39a1b0;hpb=2c757d7db4cb6a7b9655de13206fcc84fb7ce61f;p=freeside.git
diff --git a/httemplate/edit/access_user.html b/httemplate/edit/access_user.html
index 2b19dbf7b..86ce25374 100644
--- a/httemplate/edit/access_user.html
+++ b/httemplate/edit/access_user.html
@@ -1,25 +1,33 @@
-<%= include( 'elements/edit.html',
- 'name' => 'Internal User',
+<% include( 'elements/edit.html',
+ 'name' => 'Employee',
'table' => 'access_user',
'fields' => [
'username',
{ field=>'_password', type=>'password' },
+ { field=>'_password2', type=>'password' },
'last',
'first',
+ { field=>'user_custnum', type=>'search-cust_main', },
+ { field=>'disabled', type=>'checkbox', value=>'Y' },
],
'labels' => {
- 'usernum' => 'User number',
- 'username' => 'Username',
- '_password' => 'Password',
- 'last' => 'Last name',
- 'first' => 'First name',
+ 'usernum' => 'User number',
+ 'username' => 'Username',
+ '_password' => 'Password',
+ '_password2' => 'Re-enter Password',
+ 'last' => 'Last name',
+ 'first' => 'First name',
+ 'user_custnum' => 'Customer (optional)',
+ 'disabled' => 'Disable employee',
},
+ 'edit_callback' => \&edit_callback,
+ 'field_callback'=> \&field_callback,
'viewall_dir' => 'browse',
'html_bottom' =>
sub {
my $access_user = shift;
- '
Internal Access Groups
'.
+ '
Employee Groups
'.
ntable("#cccccc",2).
'