X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fpopup_link-cust_main.html;h=14137859f9cb11383f6f852a087ba3d5d7be02bd;hb=5c8f344ba6f4a64502d84feb40d6beafbdb7f047;hp=cbb48c00828b86ee779648c5a0439b91041354ff;hpb=a2649b652a3db877b105b4bea5b34727dbcb914f;p=freeside.git diff --git a/httemplate/elements/popup_link-cust_main.html b/httemplate/elements/popup_link-cust_main.html index cbb48c008..14137859f 100644 --- a/httemplate/elements/popup_link-cust_main.html +++ b/httemplate/elements/popup_link-cust_main.html @@ -2,10 +2,9 @@ Example: - - + include('/elements/init_overlib.html') - include( '/elements/cust_popup_link.html', { #hashref or a list, either way + include( '/elements/popup_link-cust_main.html', { #hashref or a list, either way #required 'action' => 'content.html', # uri for content of popup which should @@ -28,7 +27,7 @@ Example: % } <%init> -my $params = { 'closetext' => 'Close' }; +my $params = { 'closetext' => emt('Close') }; if (ref($_[0]) eq 'HASH') { $params = { %$params, %{ $_[0] } }; @@ -40,4 +39,8 @@ $params->{'action'} .= ( $params->{'action'} =~ /\?/ ? ';' : '?' ). 'custnum='. $params->{'cust_main'}->custnum; +$params->{'action'} .= ";$_=".$params->{$_} + foreach grep $params->{$_}, + qw( lock_pkgpart lock_locationnum qualnum svcpart ); +