summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/packages/package.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-05-31 12:59:30 -0700
committerIvan Kohler <ivan@freeside.biz>2013-05-31 12:59:30 -0700
commit83a80303c6bc862de098ed693bd43e0d52807156 (patch)
tree6544fcb6afb9e34da5ee75276e59d68d68b24184 /httemplate/view/cust_main/packages/package.html
parentac272d7302249e13fbf07084087ae642059d63a0 (diff)
its time. no more edit dates in 4.x.
Diffstat (limited to 'httemplate/view/cust_main/packages/package.html')
-rw-r--r--httemplate/view/cust_main/packages/package.html12
1 files changed, 1 insertions, 11 deletions
diff --git a/httemplate/view/cust_main/packages/package.html b/httemplate/view/cust_main/packages/package.html
index 520305a9a..2267294b3 100644
--- a/httemplate/view/cust_main/packages/package.html
+++ b/httemplate/view/cust_main/packages/package.html
@@ -29,11 +29,8 @@
% if ( $supplemental or $part_pkg->freq eq '0' ) {
% # Supplemental packages can't be changed independently.
% # One-time charges don't need to be changed.
-% # For both of those, we only show "Edit dates", "Add comments",
+% # For both of those, we only show "Add comments",
% # and "Add invoice details".
-% if ( $curuser->access_right('Edit customer package dates') ) {
- (&nbsp;<%pkg_dates_link($cust_pkg)%>&nbsp;)
-% }
% } else {
% # the usual case: links to change package definition,
% # discount, and customization
@@ -43,11 +40,6 @@
(&nbsp;<%pkg_change_link($cust_pkg)%>&nbsp;)
% }
%
-% if ( $curuser->access_right('Edit customer package dates') ) {
-% $br=1;
- (&nbsp;<%pkg_dates_link($cust_pkg)%>&nbsp;)
-% }
-%
% if ( $curuser->access_right('Discount customer package')
% && $part_pkg->can_discount
% && ! scalar($cust_pkg->cust_pkg_discount_active)
@@ -290,8 +282,6 @@ sub pkg_change_quantity_link {
);
}
-sub pkg_dates_link { pkg_link('edit/REAL_cust_pkg', emt('Edit dates'), @_ ); }
-
sub pkg_discount_link {
my $cust_pkg = shift or return '';
include( '/elements/popup_link-cust_pkg.html',