[freeside-commits] freeside/httemplate/view/cust_main packages.html, 1.22, 1.23
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Jun 26 08:37:21 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv2558/httemplate/view/cust_main
Modified Files:
packages.html
Log Message:
suspend later just like expire (#1487)
Index: packages.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages.html,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- packages.html 19 Apr 2007 20:18:04 -0000 1.22
+++ packages.html 26 Jun 2007 15:37:19 -0000 1.23
@@ -299,6 +299,13 @@
<% pkg_datestr($cust_pkg, 'bill', $conf) %>
</TR>
% }
+% if ( $cust_pkg->get('adjourn') ) {
+
+ <TR>
+ <TD WIDTH="<%$width%>" ALIGN="right">Adjourns </TD>
+ <% pkg_datestr($cust_pkg, 'adjourn', $conf) %>
+ </TR>
+% }
% if ( $cust_pkg->get('expire') ) {
<TR>
@@ -315,6 +322,10 @@
( <% pkg_suspend_link($cust_pkg) %> )
% }
+% if ( $curuser->access_right('Suspend customer package later') ) {
+
+ ( <% pkg_adjourn_link($cust_pkg) %> )
+% }
% if ( $curuser->access_right('Cancel customer package immediately') ) {
( <% pkg_cancel_link($cust_pkg) %> )
@@ -489,7 +500,7 @@
%sub pkg_change_link { pkg_link('misc/change_pkg', 'Change package', @_ ); }
%
%sub pkg_suspend_link { pkg_popup_link( 'misc/cancel_pkg.html?method=suspend',
-% 'Suspend',
+% 'Suspend now',
% 'Suspend',
% @_
% );
@@ -505,6 +516,13 @@
% @_
% );
% }
+%sub pkg_adjourn_link { pkg_popup_link( 'misc/cancel_pkg.html?method=adjourn',
+% 'Suspend later',
+% 'Adjourn',
+% @_
+% );
+% }
+%
%sub pkg_expire_link { pkg_popup_link( 'misc/cancel_pkg.html?method=expire',
% 'Cancel later',
% 'Expire', #"Cancel package $num later"
More information about the freeside-commits
mailing list