[freeside-commits] freeside/httemplate/view/cust_main order_pkg_link.html, 1.4, 1.5
Ivan,,,
ivan at wavetail.420.am
Sun Mar 27 19:00:54 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv12828/httemplate/view/cust_main
Modified Files:
order_pkg_link.html
Log Message:
finish existing customer dsl order, RT#7111
Index: order_pkg_link.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/order_pkg_link.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- order_pkg_link.html 20 Jan 2011 20:46:30 -0000 1.4
+++ order_pkg_link.html 28 Mar 2011 02:00:52 -0000 1.5
@@ -6,7 +6,7 @@
'cust_main' => $cust_main,
'closetext' => 'Close',
'width' => 763,
- 'height' => 538,
+ 'height' => $height,
%optional,
)
%>
@@ -14,9 +14,10 @@
my($cust_main, %opt) = @_;
-my %optional = ();
-$optional{'pkgpart'} = $opt{'pkgpart'} if $opt{'pkgpart'};
-$optional{'locationnum'} = $opt{'locationnum'} if $opt{'locationnum'};
-$optional{'svcpart'} = $opt{'svcpart'} if $opt{'svcpart'};
+my %optional = map { $_ => $opt{$_} }
+ grep $opt{$_},
+ qw( lock_pkgpart lock_locationnum qualnum svcpart );
+
+my $height = $opt{'lock_locationnum'} ? 296 : 538;
</%init>
More information about the freeside-commits
mailing list