[freeside-commits] freeside/httemplate/edit/cust_main/first_pkg select-part_pkg.html, 1.3, 1.3.2.1

Ivan,,, ivan at wavetail.420.am
Sat Oct 9 17:26:35 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/first_pkg
In directory wavetail.420.am:/tmp/cvs-serv452/edit/cust_main/first_pkg

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	select-part_pkg.html 
Log Message:
add lock_agentnum and lock_pkgpart parameters to new customer page, RT#9782

Index: select-part_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/first_pkg/select-part_pkg.html,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -w -d -r1.3 -r1.3.2.1
--- select-part_pkg.html	22 Aug 2009 00:22:08 -0000	1.3
+++ select-part_pkg.html	10 Oct 2010 00:26:33 -0000	1.3.2.1
@@ -147,7 +147,9 @@
   $layermap{$pkgpart_svcpart} = $svcdb{$pkgpart};
 }
 
-my @options = ( '', map $pkgpart_svcpart{ $_->pkgpart }, @part_pkg );
+my @options = ();
+push @options, '' unless $opt{'disable_empty'};
+push @options, map $pkgpart_svcpart{ $_->pkgpart }, @part_pkg;
 my %labels = ( '' => ( $opt{'empty_label'} || '(none)' ),
                map { $pkgpart_svcpart{ $_->pkgpart } => $_->pkg_comment }
                    @part_pkg



More information about the freeside-commits mailing list