populate MAC address from inventory for svc_phone devices, RT7794
[freeside.git] / httemplate / edit / elements / edit.html
index 3d82847..cab5167 100644 (file)
@@ -311,6 +311,11 @@ Example:
 %     foreach grep exists($f->{$_}),
 %       qw( hashref agent_virt agent_null agent_null_right );
 %
+%   # fixed
+%   $include_common{$_} = $f->{$_}
+%     foreach grep exists($f->{$_}),
+%       qw( formatted_value );
+%
 %   #htmlarea
 %   $include_common{$_} = $f->{$_}
 %     foreach grep exists($f->{$_}), qw( width height );
@@ -351,6 +356,19 @@ Example:
 %         %include_common,
 %         %opt,
 %     );
+%
+%     if ( $include eq 'tr-input-date-field' ) {
+%      # it's either hacking it here, or changing a lot more stuff
+%      @include = (
+%              "/elements/$include.html", {
+%                      'name' => $field,
+%                      'value' => $opt{curr_value},
+%                      'label' => $label,
+%                      'noinit' => $f->{noinit},
+%              }
+%      );
+%     }
+%
 %     @include;
 %   };
 %