[freeside-commits] freeside/httemplate/browse reason.html, 1.3, 1.4 reason_type.html, 1.2, 1.3
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Dec 4 10:21:00 PST 2007
- Previous message: [freeside-commits] freeside/FS/FS AccessRight.pm, 1.24, 1.25 Conf.pm, 1.213, 1.214 Schema.pm, 1.74, 1.75 Setup.pm, 1.11, 1.12 Upgrade.pm, 1.1, 1.2 cust_credit.pm, 1.26, 1.27 cust_main.pm, 1.325, 1.326 cust_pkg.pm, 1.85, 1.86 reason.pm, 1.3, 1.4 reason_type.pm, 1.1, 1.2 Conf_compat17.pm, 1.1, 1.2
- Next message: [freeside-commits] freeside/httemplate/edit cust_credit.cgi, 1.17, 1.18 reason.html, 1.3, 1.4 reason_type.html, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail:/tmp/cvs-serv23022/httemplate/browse
Modified Files:
reason.html reason_type.html
Log Message:
change credit reasons from freetext to new reason/reason type system (#2777)
Index: reason_type.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/reason_type.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- reason_type.html 30 Jan 2007 20:59:13 -0000 1.2
+++ reason_type.html 4 Dec 2007 18:20:58 -0000 1.3
@@ -33,11 +33,7 @@
$cgi->param('class') =~ /^(\w)$/ or die "illegal class";
my $class=$1;
-my %classmap = ( 'C' => 'cancel',
- 'S' => 'suspend',
- );
-
-my $classname = $classmap{$class};
+my $classname = $FS::reason_type::class_name{$class};
my $html_init = ucfirst($classname) .
" reason types allow groups of $classname reasons for reporting purposes." .
Index: reason.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/reason.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- reason.html 1 Aug 2007 22:24:58 -0000 1.3
+++ reason.html 4 Dec 2007 18:20:58 -0000 1.4
@@ -38,14 +38,10 @@
$cgi->param('class') =~ /^(\w)$/ or die "illegal class";
my $class = $1;
-my %classmap = ( 'C' => 'cancel',
- 'S' => 'suspend',
- );
-
-my $classname = $classmap{$class};
+my $classname = $FS::reason_type::class_name{$class};;
+my $classpurpose = $FS::reason_type::class_purpose{$class};;
-my $html_init = ucfirst($classname) .
-" reasons explain why we $classname a package.<BR><BR>".
+my $html_init = ucfirst($classname). " reasons $classpurpose.<BR><BR>".
qq!<A HREF="${p}edit/reason.html?class=$class">!.
"<I>Add a $classname reason</I></A><BR><BR>";
- Previous message: [freeside-commits] freeside/FS/FS AccessRight.pm, 1.24, 1.25 Conf.pm, 1.213, 1.214 Schema.pm, 1.74, 1.75 Setup.pm, 1.11, 1.12 Upgrade.pm, 1.1, 1.2 cust_credit.pm, 1.26, 1.27 cust_main.pm, 1.325, 1.326 cust_pkg.pm, 1.85, 1.86 reason.pm, 1.3, 1.4 reason_type.pm, 1.1, 1.2 Conf_compat17.pm, 1.1, 1.2
- Next message: [freeside-commits] freeside/httemplate/edit cust_credit.cgi, 1.17, 1.18 reason.html, 1.3, 1.4 reason_type.html, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list