X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fdid_order_item.html;h=00668f94f1abdd188472f96bacbaf30b49942655;hb=849a709d89e78bec1ab19997b75de1b574969f1f;hp=263826ecc462bd75fdef8be02dc309ffa0c95d46;hpb=31f2e890b5b3e1b0ad29a877ff67bc641ea1fc40;p=freeside.git diff --git a/httemplate/elements/did_order_item.html b/httemplate/elements/did_order_item.html index 263826ecc..00668f94f 100644 --- a/httemplate/elements/did_order_item.html +++ b/httemplate/elements/did_order_item.html @@ -4,23 +4,98 @@
+% $value = $item->get('quantity'); + |
"
- <% $onchange %>
- > - <% $label{$field} %> - |
-% }
+ >
+
+ "
+ >
+ NPA + |
+
+% $value = $item->get('ratecenternum');
+
+ <% include('/elements/select-table.html',
+ 'name_col' => 'description',
+ 'table' => 'rate_center',
+ 'disable_empty' => 0,
+ 'empty_label' => ' ',
+ 'field' => "${name}_ratecenternum",
+ 'id' => "${id}_ratecenternum",
+ 'curr_value' => scalar($cgi->param("${name}_ratecenternum"))
+ || $value,
+ 'post_options' => [ 0 => 'Add new...' ],
+ onchange => 'ratecenter_changed',
+ )
+ %>
+ Rate Center + + |
+
+% $value = $item->get('msanum');
+
+ <% include('/elements/select-table.html',
+ 'name_col' => 'description',
+ 'table' => 'msa',
+ 'disable_empty' => 0,
+ 'empty_label' => ' ',
+ 'field' => "${name}_msanum",
+ 'curr_value' => scalar($cgi->param("${name}_msanum"))
+ || $value,
+ )
+ %>
+ MSA + |
+
+% $value = $item->get('latanum');
+ <% include('/elements/select-table.html',
+ 'name_col' => 'description',
+ 'table' => 'lata',
+ 'disable_empty' => 0,
+ 'empty_label' => ' ',
+ 'label_showkey' => 1,
+ 'field' => "${name}_latanum",
+ 'curr_value' => scalar($cgi->param("${name}_latanum"))
+ || $value,
+ )
+ %>
+ LATA # + |
+
+% $value = $item->get('state');
+ <% include('/elements/select-state.html',
+ 'disable_empty' => 0,
+ 'empty_label' => ' ',
+ 'country' => 'US',
+ 'prefix' => "${name}_",
+ 'state' => scalar($cgi->param("${name}_state"))
+ || $value,
+ )
+ %>
+ State + |
+