diff options
Diffstat (limited to 'httemplate/elements')
| -rw-r--r-- | httemplate/elements/menu.html | 17 | ||||
| -rw-r--r-- | httemplate/elements/tr-input-text.html | 2 | 
2 files changed, 14 insertions, 5 deletions
| diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index 573741e21..5090abc73 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -347,18 +347,27 @@ if ( $curuser->access_right('Configuration') ) {    $config_export_svc{'Service definitions'} = [ $fsurl.'browse/part_svc.cgi', 'Services are items you offer to your customers' ];  } +tie my %config_pkg_reason, 'Tie::IxHash', +  'Cancel reasons' => [ $fsurl.'browse/reason.html?class=C', 'Cancel reasons explain why a service was cancelled.' ], +  'Cancel reason types' => [ $fsurl.'browse/reason_type.html?class=C', 'Cancel reason types define groups of reasons.' ], +  'Suspend reasons' => [ $fsurl.'browse/reason.html?class=S', 'Suspend reasons explain why a service was suspended.' ], +  'Suspend reason types' => [ $fsurl.'browse/reason_type.html?class=S', 'Suspend reason types define groups of reasons.' ], +; +  tie my %config_pkg, 'Tie::IxHash', ();  $config_pkg{'Package definitions'} = [ $fsurl.'browse/part_pkg.cgi', 'One or more services are grouped together into a package and given pricing information. Customers purchase packages, not services' ]    if    $curuser->access_right('Edit package definitions')       || $curuser->access_right('Edit global package definitions');  if ( $curuser->access_right('Configuration') ) { + +  #package grouping sub-menu?    $config_pkg{'Package classes'} =  [ $fsurl.'browse/pkg_class.html', 'Package classes define groups of packages, for taxation, ordering convenience and reporting.' ];    $config_pkg{'Package categories'} =  [ $fsurl.'browse/pkg_category.html', 'Package categories define groups of package classes.' ];    $config_pkg{'Package report classes'} =  [ $fsurl.'browse/part_pkg_report_option.html', 'Package classes define optional groups of packages for reporting only.' ]; -  $config_pkg{'Cancel reasons'} = [ $fsurl.'browse/reason.html?class=C', 'Cancel reasons explain why a service was cancelled.' ]; -  $config_pkg{'Cancel reason types'} = [ $fsurl.'browse/reason_type.html?class=C', 'Cancel reason types define groups of reasons.' ]; -  $config_pkg{'Suspend reasons'} = [ $fsurl.'browse/reason.html?class=S', 'Suspend reasons explain why a service was suspended.' ]; -  $config_pkg{'Suspend reason types'} = [ $fsurl.'browse/reason_type.html?class=S', 'Suspend reason types define groups of reasons.' ]; +  #eo package grouping sub-menu + +  $config_pkg{'Discounts'} = [ $fsurl.'browse/discount.html', '' ]; +  $config_pkg{'Cancel/Suspend Reasons'} = [ \%config_pkg_reason, '' ];  }  tie my %config_cust, 'Tie::IxHash', diff --git a/httemplate/elements/tr-input-text.html b/httemplate/elements/tr-input-text.html index 14f1425df..81efa1fe5 100644 --- a/httemplate/elements/tr-input-text.html +++ b/httemplate/elements/tr-input-text.html @@ -1,6 +1,6 @@  <% include('tr-td-label.html', @_ ) %> -  <TD <% $cell_style %>><% include('input-text.html', @_ ) %></TD> +  <TD <% $cell_style %> ID="<% $opt{input_id} || $opt{id}.'_input0' %>"><% include('input-text.html', @_ ) %></TD>  </TR> | 
