X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Fselect-cust_location.html;h=24df352ae123a3620d1411bbe21d2e402bed9702;hb=64730bda4ec6abbe4b5ca153150571ed80e49857;hp=29563c50e3ab906171fa3c83d8bb9ec97cbca896;hpb=18397f32cae23998cc293cb8bff6bc1117f2bde5;p=freeside.git 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;