[freeside-commits] freeside/httemplate/edit part_svc.cgi, 1.62.2.4, 1.62.2.5
Ivan,,,
ivan at wavetail.420.am
Mon Mar 1 11:29:22 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv20175/httemplate/edit
Modified Files:
Tag: FREESIDE_1_9_BRANCH
part_svc.cgi
Log Message:
enable manual selection from inventory dropdowns for svc_broadband, svc_external & svc_phone, RT#7010
Index: part_svc.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_svc.cgi,v
retrieving revision 1.62.2.4
retrieving revision 1.62.2.5
diff -u -w -d -r1.62.2.4 -r1.62.2.5
--- part_svc.cgi 22 Feb 2010 09:14:34 -0000 1.62.2.4
+++ part_svc.cgi 1 Mar 2010 19:29:20 -0000 1.62.2.5
@@ -65,10 +65,9 @@
% 'condition' =>
% sub { !ref($_[0]) || $_[0]->{disable_select} },
% },
-%# need to template-ize httemplate/edit/svc_* first
-%# 'M' => { 'desc' => 'Manual selection from inventory',
-%# 'condition' => $inv_sub,
-%# },
+% 'M' => { 'desc' => 'Manual selection from inventory',
+% 'condition' => $inv_sub,
+% },
% 'A' => { 'desc' => 'Automatically fill in from inventory',
% 'condition' => $inv_sub,
% },
@@ -185,6 +184,9 @@
%
% foreach my $f ( keys %flag ) {
%
+% # need to template-ize more httemplate/edit/svc_* first
+% next if $f eq 'M' and $layer !~ /^svc_(broadband|external|phone)$/;
+%
% #here is where the SUB from above is called, to skip some choices
% next if $flag{$f}->{condition}
% && &{ $flag{$f}->{condition} }( $def, $layer, $field );
More information about the freeside-commits
mailing list