From 04a69f9d197efee6fa396bd35d04ae553e669978 Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 21 Jun 2009 15:21:32 +0000 Subject: CUSTOM packages/actual flag for custom packages #3988 --- httemplate/misc/bulk_change_pkg.cgi | 5 +---- httemplate/misc/cancel_pkg.html | 2 +- httemplate/misc/cust_main-import.cgi | 2 +- httemplate/misc/delay_susp_pkg.html | 2 +- httemplate/misc/meta-import.cgi | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/bulk_change_pkg.cgi b/httemplate/misc/bulk_change_pkg.cgi index 93349859d..3bb677581 100755 --- a/httemplate/misc/bulk_change_pkg.cgi +++ b/httemplate/misc/bulk_change_pkg.cgi @@ -28,10 +28,7 @@ 'table' => 'part_pkg', 'name_col' => 'pkg', 'empty_label' => 'Select package', - 'label_callback' => sub { $_[0]->pkgpart. ': '. - $_[0]->pkg. ' - '. - $_[0]->comment; - }, + 'label_callback' => sub { $_[0]->pkg_comment }, 'element_name' => 'new_pkgpart', 'curr_value' => ( $cgi->param('error') ? scalar($cgi->param('new_pkgpart')) diff --git a/httemplate/misc/cancel_pkg.html b/httemplate/misc/cancel_pkg.html index e0e5fd1f8..1228eb1af 100755 --- a/httemplate/misc/cancel_pkg.html +++ b/httemplate/misc/cancel_pkg.html @@ -17,7 +17,7 @@

-<% ucfirst($method) . " $pkgnum: " .$part_pkg->pkg. ' - ' .$part_pkg->comment %> +<% ucfirst($method) . $part_pkg->pkg_comment %> <% ntable("#cccccc", 2) %> % if ($method eq 'expire' || $method eq 'adjourn') { diff --git a/httemplate/misc/cust_main-import.cgi b/httemplate/misc/cust_main-import.cgi index b822c5dab..9c1f98479 100644 --- a/httemplate/misc/cust_main-import.cgi +++ b/httemplate/misc/cust_main-import.cgi @@ -56,7 +56,7 @@ Import a file containing customer records. diff --git a/httemplate/misc/delay_susp_pkg.html b/httemplate/misc/delay_susp_pkg.html index 1158a35c2..d4a6da18f 100755 --- a/httemplate/misc/delay_susp_pkg.html +++ b/httemplate/misc/delay_susp_pkg.html @@ -12,7 +12,7 @@

-<% "Delay automatic suspension of $pkgnum: " .$part_pkg->pkg. ' - ' .$part_pkg->comment %> +<% "Delay automatic suspension of " .$part_pkg->pkg_comment %> <% ntable("#cccccc", 2) %> diff --git a/httemplate/misc/meta-import.cgi b/httemplate/misc/meta-import.cgi index 5b3470c06..8c158bd14 100644 --- a/httemplate/misc/meta-import.cgi +++ b/httemplate/misc/meta-import.cgi @@ -46,7 +46,7 @@ Import data from a DBI data source

First package:

-- cgit v1.2.1