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