projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#37165: Print document when account is created [fix for welcome_letter, no backport...
[freeside.git]
/
FS
/
FS
/
svc_acct.pm
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
452f250
..
0181b1e
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-260,6
+260,7
@@
sub table_info {
'display_weight' => 10,
'cancel_weight' => 50,
'ip_field' => 'slipip',
'display_weight' => 10,
'cancel_weight' => 50,
'ip_field' => 'slipip',
+ 'manual_require' => 1,
'fields' => {
'dir' => 'Home directory',
'uid' => {
'fields' => {
'dir' => 'Home directory',
'uid' => {
@@
-283,6
+284,7
@@
sub table_info {
disable_default => 1,
disable_fixed => 1,
disable_select => 1,
disable_default => 1,
disable_fixed => 1,
disable_select => 1,
+ required => 1,
},
'password_selfchange' => { label => 'Password modification',
type => 'checkbox',
},
'password_selfchange' => { label => 'Password modification',
type => 'checkbox',
@@
-310,7
+312,9
@@
sub table_info {
type => 'text',
disable_inventory => 1,
},
type => 'text',
disable_inventory => 1,
},
- '_password' => 'Password',
+ '_password' => { label => 'Password',
+ required => 1
+ },
'gid' => {
label => 'GID',
def_info => 'when blank, defaults to UID',
'gid' => {
label => 'GID',
def_info => 'when blank, defaults to UID',
@@
-333,6
+337,7
@@
sub table_info {
select_key => 'svcnum',
select_label => 'domain',
disable_inventory => 1,
select_key => 'svcnum',
select_label => 'domain',
disable_inventory => 1,
+ required => 1,
},
'pbxsvc' => { label => 'PBX',
type => 'select-svc_pbx.html',
},
'pbxsvc' => { label => 'PBX',
type => 'select-svc_pbx.html',