X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Finput-fcc_options.html;h=064c647fc808e161271080bd4b750b34ac96e4f4;hb=92b6628c08e4478e48b6f250320a3e3e93262ec2;hp=1d56cf2741db4191851a05a67c782022e363f556;hpb=d7cf0d6bb3b81b1c91ef1bcc3252d56f96b65b0f;p=freeside.git diff --git a/httemplate/elements/input-fcc_options.html b/httemplate/elements/input-fcc_options.html index 1d56cf274..064c647fc 100644 --- a/httemplate/elements/input-fcc_options.html +++ b/httemplate/elements/input-fcc_options.html @@ -37,7 +37,8 @@ function show_fcc_options(id) { tech = 'Technology '+tech; // unknown? } } - var media = String.toLowerCase(curr_values['media'] || 'unknown media'); + var media = curr_values['media'] || 'unknown media'; + media = media.toLowerCase(); if ( curr_values['is_consumer'] ) { out += '
  • Consumer-grade service
  • '; } else { @@ -79,7 +80,8 @@ function show_fcc_options(id) { } } // is_phone if ( curr_values['is_voip'] ) { - out += '
  • VoIP telephone service
  • '; + out += '
  • VoIP telephone service over ' + + media + '
  • '; out += '
  • ' + curr_values['voip_sessions'] + ' sessions allowed
  • '; if ( curr_values['voip_lastmile'] ) { @@ -88,6 +90,12 @@ function show_fcc_options(id) { out += '
  • Using a separate last-mile connection
  • '; } } // is_voip + if ( curr_values['is_mobile'] ) { + out += '
  • Mobile telephone service
  • '; + if ( curr_values['mobile_direct'] ) { + out += '
  • Billed directly to the user
  • '; + } + } // is_mobile var out_ul = document.getElementById(id + '_display_fcc_options'); out_ul.innerHTML = out;