X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Flocation.html;h=b5f76409bbfdeaffe5af126322f5d2f7b2b2fadb;hb=5bc29cd57b5dafce49f23f318fa8bb6945a54068;hp=0d2fa38c3fcc81c72b9706c2f2a1ef52026587f4;hpb=624b2d44625f69d71175c3348cae635d580c890b;p=freeside.git
diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html
index 0d2fa38c3..b5f76409b 100644
--- a/httemplate/elements/location.html
+++ b/httemplate/elements/location.html
@@ -31,21 +31,60 @@ Example:
>
+
+ >* >Unit # |
+
+
+ <% $style %>
+ >
+ |
+
+
+% if ( $opt{'alt_format'} ) {
- >* >Unit # |
-
-
- <% $style %>
- >
- |
+ <<%$th%> ALIGN="right">Location Type<%$th%>>
+
+ <% $style %>
+ >
+ |
+ |
+ <<%$th%> ALIGN="right">Number<%$th%>>
+
+ <% $style %>
+ >
+ |
+ <<%$th%> ALIGN="right">Kind<%$th%>>
+
+ <% include('/elements/select.html',
+ 'cgi' => $cgi,
+ 'field' => 'location_kind',
+ 'disabled' => $disabled,
+ 'style' => $style,
+ 'options' => \@location_kind_options,
+ 'labels' => $location_kind_labels,
+ 'curr_value' => $cgi->param('location_kind'),
+ )
+ %>
+ |
+% }
<<%$th%> ALIGN="right"><%$r%>City<%$th%>>
@@ -155,4 +194,7 @@ my %select_hash = (
my $th = $opt{'no_bold'} ? 'TD' : 'TH';
+my @location_kind_options = ( '', 'R', 'B' );
+my $location_kind_labels = { '' => '', 'R' => 'Residential', 'B' => 'Business' };
+
%init>