X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fselect-did.html;h=062c98a80191044b2e53eeb12d04343a0dd79eb5;hp=af8d59513e4d608144fbed5983b287e6c5a1e989;hb=46e04077cc22ff9d31e8e9896cbf97e31f1b0e7d;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2
diff --git a/httemplate/elements/select-did.html b/httemplate/elements/select-did.html
index af8d59513..062c98a80 100644
--- a/httemplate/elements/select-did.html
+++ b/httemplate/elements/select-did.html
@@ -3,7 +3,7 @@
Example:
include('/elements/select-did.html',
- 'field' => 'phonenum',
+ #can't actuall change from phonenum yet# 'field' => 'phonenum',
'svcpart' => 5,
#OR
@@ -18,6 +18,7 @@ Example:
<% include('/elements/select-state.html',
+ 'prefix' => 'phonenum_', #$field.'_',
'country' => $country,
'disable_empty' => 0,
'empty_label' => 'Select state',
@@ -26,8 +27,9 @@ Example:
|
<% include('/elements/select-areacode.html',
- 'svcpart' => $svcpart,
- 'empty' => 'Select area code',
+ 'state_prefix' => 'phonenum_', #$field.'_',
+ 'svcpart' => $svcpart,
+ 'empty' => 'Select area code',
)
%>
|
@@ -42,6 +44,7 @@ Example:
<% include('/elements/select-phonenum.html',
'svcpart' => $svcpart,
'empty' => 'Select phone number',
+ 'bulknum' => $bulknum,
)
%>
@@ -55,6 +58,19 @@ Example:
+% if ( $bulknum ) {
+
+% my $i;
+% for($i=0; $i < $bulknum; $i++) {
+
+
+
+
+% }
+
+% }
% } else {
@@ -84,4 +100,8 @@ if ( scalar(@exports) > 1 ) {
my $use_selector = scalar(@exports) ? 1 : 0;
+my $bulknum = $opt{'bulknum'} || 0;
+
+#my $field = $opt{'field'} || 'phonenum';
+
%init>