[freeside-commits] freeside/httemplate/edit/elements class_Common.html, 1.1, 1.2

Erik Levinson levinse at wavetail.420.am
Thu Dec 9 22:02:54 PST 2010


Update of /home/cvs/cvsroot/freeside/httemplate/edit/elements
In directory wavetail.420.am:/tmp/cvs-serv31276/httemplate/edit/elements

Modified Files:
	class_Common.html 
Log Message:
implement customer note classes, RT9995


Index: class_Common.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/elements/class_Common.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- class_Common.html	29 Oct 2009 01:08:33 -0000	1.1
+++ class_Common.html	10 Dec 2010 06:02:52 -0000	1.2
@@ -26,7 +26,11 @@
 my %opt = @_;
 
 my $table = $opt{'table'};
+
+my @category;
+unless ( $opt{'nocat'} ) {
 ( my $category_table = $table ) =~ s/class/category/ or die;
+    @category = qsearch($category_table, { 'disabled' => '' });
+}
 
-my @category = qsearch($category_table, { 'disabled' => '' });
 </%init>



More information about the freeside-commits mailing list