X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fselect-cust_location.html;h=24df352ae123a3620d1411bbe21d2e402bed9702;hp=29563c50e3ab906171fa3c83d8bb9ec97cbca896;hb=b71b1576c68bc40ad26592b354feace37a029f0e;hpb=d9f0a98539cd8dd957ea9a4b5d77fbb739d43d2e diff --git a/httemplate/elements/select-cust_location.html b/httemplate/elements/select-cust_location.html index 29563c50e..24df352ae 100644 --- a/httemplate/elements/select-cust_location.html +++ b/httemplate/elements/select-cust_location.html @@ -1,3 +1,13 @@ +% my @pre_options = $opt{pre_options} ? @{ $opt{pre_options} } : (); +% if ( ! @pre_options +% && ! $cust_main +% && ! $opt{is_optional} +% && ! @{ $opt{cust_location} } +% && $addnew +% ) { + +% } else { + +% } <%init> my $conf = new FS::Conf;