X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Finput-fcc_options.html;h=064c647fc808e161271080bd4b750b34ac96e4f4;hb=e2213aaeab76983c26d92c1e1d928fe4e062accf;hp=b191e1c07b4d6bd58781d3e4a0cc03850d2192c4;hpb=0f359d5480aa1621d73ee802f420e8951abc620d;p=freeside.git diff --git a/httemplate/elements/input-fcc_options.html b/httemplate/elements/input-fcc_options.html index b191e1c07..064c647fc 100644 --- a/httemplate/elements/input-fcc_options.html +++ b/httemplate/elements/input-fcc_options.html @@ -37,9 +37,10 @@ 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
  • >'; + out += '
  • Consumer-grade service
  • '; } else { out += '
  • Business-grade service
  • '; } @@ -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;