diff options
author | ivan <ivan> | 2009-01-10 23:56:59 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-01-10 23:56:59 +0000 |
commit | 705f7d564546e7211844773f3566a89f0ae87a2c (patch) | |
tree | c9210d7215cce0870207f9865dd8e9c981f63037 /httemplate/view/cust_main/packages/package.html | |
parent | a661ced3f9f678a645780eaa0b183d2de5f100fa (diff) |
implement package changes w/location change, RT#4499
Diffstat (limited to 'httemplate/view/cust_main/packages/package.html')
-rw-r--r-- | httemplate/view/cust_main/packages/package.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/httemplate/view/cust_main/packages/package.html b/httemplate/view/cust_main/packages/package.html index 4311d8cf2..b07e1af94 100644 --- a/httemplate/view/cust_main/packages/package.html +++ b/httemplate/view/cust_main/packages/package.html @@ -184,12 +184,14 @@ sub pkg_link { } sub pkg_change_link { + my $cust_pkg = shift; + my $locationnum = $cust_pkg->locationnum; include( '/elements/popup_link-cust_pkg.html', - 'action' => $p. 'misc/change_pkg.cgi?dummy=value', - 'label' => 'Change package', - 'actionlabel' => 'Change', - 'cust_pkg' => shift, - ) + 'action' => $p. "misc/change_pkg.cgi?locationnum=$locationnum", + 'label' => 'Change package', + 'actionlabel' => 'Change', + 'cust_pkg' => $cust_pkg, + ); } sub pkg_dates_link { pkg_link('edit/REAL_cust_pkg', 'Edit dates', @_ ); } |