X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fpart_svc.cgi;h=ec5f321dda975ad33731841fbe2b86d34a583e30;hp=0d36853557b1097b3297a74d05e00da58cbcbb9e;hb=ec271a1445bf232cd172c38e2dd3fd9d3c5c7c4e;hpb=35b1ca7d644c773f4e0aebf6d8798c93f76a7cd8
diff --git a/httemplate/browse/part_svc.cgi b/httemplate/browse/part_svc.cgi
index 0d3685355..ec5f321dd 100755
--- a/httemplate/browse/part_svc.cgi
+++ b/httemplate/browse/part_svc.cgi
@@ -61,6 +61,8 @@ function part_export_areyousure(href) {
Modifier |
+ Required |
+
% my $conf = FS::Conf->new;
% foreach my $part_svc ( @part_svc ) {
@@ -78,6 +80,9 @@ function part_export_areyousure(href) {
% $col->columnflag || ( $col->columnlabel !~ /^\S*$/
% && $col->columnlabel ne $def->{'label'}
% )
+% || ( $col->required
+% && !$def->{'required'}
+% )
% )
% }
% @dfields ;
@@ -150,7 +155,7 @@ function part_export_areyousure(href) {
% unless ( @fields ) {
-% for ( 1..4 ) {
+% for ( 1..5 ) {
% }
% }
@@ -170,7 +175,6 @@ function part_export_areyousure(href) {
| <% $field %> |
<% $label %> |
<% $flag{$flag} %> |
-
% my $value = &$formatter($part_svc->part_svc_column($field)->columnvalue);
% if ( $flag =~ /^[MAH]$/ ) {
@@ -189,6 +193,11 @@ function part_export_areyousure(href) {
% }
|
+
+% if ($part_svc_column->required) {
+ Yes
+% }
+ |
% $n1="";
% } #foreach $field
% if ( $part_svc->restrict_edit_password ) {