diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-04-24 22:19:34 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-04-24 22:19:34 -0500 |
commit | 4fda726fa9f8e709c68ec823edc5ae702723281c (patch) | |
tree | 1436b287dc8467b16aa2f11c6cdc62f36e2fae82 /FS/FS/part_svc_column.pm | |
parent | 326075e45814387624303357207eae9069301f58 (diff) |
RT#34289: Flag service fields as mandatory
Diffstat (limited to 'FS/FS/part_svc_column.pm')
-rw-r--r-- | FS/FS/part_svc_column.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/part_svc_column.pm b/FS/FS/part_svc_column.pm index 38ce1fa80..75a2dfb1a 100644 --- a/FS/FS/part_svc_column.pm +++ b/FS/FS/part_svc_column.pm @@ -45,6 +45,8 @@ fields are currently supported: =item columnflag - null or empty (no default), `D' for default, `F' for fixed (unchangeable), `S' for selectable choice, `M' for manual selection from inventory, `A' for automatic selection from inventory, or `H' for selection from a hardware class. For virtual fields, can also be 'X' for excluded. +=item required - column value expected to be true + =back =head1 METHODS @@ -91,6 +93,7 @@ sub check { || $self->ut_alpha('columnname') || $self->ut_textn('columnlabel') || $self->ut_anything('columnvalue') + || $self->ut_flag('required') ; return $error if $error; |