script to insert CDR header strings into msgcat, #27276
[freeside.git] / httemplate / misc / order_pkg.html
index 7d289c9..f174dd9 100644 (file)
@@ -1,4 +1,4 @@
-<& /elements/header-popup.html, emt('Order new package') &>
+<& /elements/header-popup.html, mt('Order new package') &>
 
 <LINK REL="stylesheet" TYPE="text/css" HREF="../elements/calendar-win2k-2.css" TITLE="win2k-2">
 <SCRIPT TYPE="text/javascript" SRC="../elements/calendar_stripped.js"></SCRIPT>
@@ -29,7 +29,6 @@
                  'curr_value' => $pkgpart,
                  'classnum'   => -1,
                  'cust_main'  => $cust_main,
-                 'onchange'   => 'enable_order_pkg',
     &>
 % }
 
     <& /elements/input-date-field.html,{
                 'name'      => 'start_date',
                 'format'    => $date_format,
-                'value'     => $start_date,
+                'value'     => '',
                 'noinit'    => 1,
               } &>
+    <IMG SRC   = "<%$fsurl%>images/calendar-disabled.png"
+         ID    = "start_date_button_disabled"
+         STYLE = "display:none">
     <FONT SIZE=-1>(<% mt('leave blank to start immediately') |h %>)</FONT>
   </TD>
 </TR>
 %                 : 'standardize_new_location()';
 <INPUT NAME    = "submitButton"
        TYPE    = "button"
-       VALUE   = "Order Package"
+       VALUE   = "<% mt("Order Package") |h %>"
        onClick = "this.disabled=true; <% $onclick %>;"
        <% $pkgpart ? '' : 'DISABLED' %>
 >
@@ -165,11 +167,6 @@ if ( $cgi->param('lock_pkgpart') ) {
 my $pkgpart = $part_pkg ? $part_pkg->pkgpart : scalar($cgi->param('pkgpart'));
 
 my $format = $date_format. ' %T %z (%Z)'; #false laziness w/REAL_cust_pkg.cgi?
-my $start_date = '';
-if( ! $conf->exists('order_pkg-no_start_date') ) {
-  $start_date = $cust_main->next_bill_date;
-  $start_date = $start_date ? time2str($format, $start_date) : '';
-}
 
 my $svcpart = scalar($cgi->param('svcpart'));