-% } else {
- <!-- #status: active -->
-% unless ( $cust_pkg->get('setup') ) {
- <!-- #not setup -->
-% unless ( $part_pkg->freq ) {
-
-
- <TR>
- <TD COLSPAN=<%$colspan%>>Not yet billed (one-time charge)</TD>
- </TR>
-
- <TR>
- <TD COLSPAN=<%$colspan%>>
- <FONT SIZE=-1>
-% if ( $curuser->access_right('Cancel customer package immediately') ) {
-
- ( <% pkg_cancel_link($cust_pkg) %> )
-% }
-
- </FONT>
- </TD>
- </TR>
-% } else {
-
-
- <TR>
- <TD COLSPAN=<%$colspan%>>Not yet billed (<% $billed_or_prepaid %> <% myfreq($part_pkg) %>)</TD>
- </TR>
-% }
-% } else {
- <!-- #setup -->
-% unless ( $part_pkg->freq ) {
-
-
- <TR>
- <TD COLSPAN=<%$colspan%>>One-time charge</TD>
- </TR>
-
- <TR>
- <TD WIDTH="<%$width%>" ALIGN="right">Billed </TD>
- <% pkg_datestr($cust_pkg, 'setup', $conf) %>
- </TR>
-% } else {
-% if (scalar($cust_pkg->overlimit)) {
- <TR>
- <TD COLSPAN=<%$colspan%>><FONT COLOR="#FFD000"><B>Overlimit</B></FONT>, <% $billed_or_prepaid %> <% myfreq($part_pkg) %></TD>
- </TR>
-%}else{
- <TR>
- <TD COLSPAN=<%$colspan%>><FONT COLOR="#00CC00"><B>Active</B></FONT>, <% $billed_or_prepaid %> <% myfreq($part_pkg) %></TD>
- </TR>
-% }
- <TR>
- <TD WIDTH="<%$width%>" ALIGN="right">Setup </TD>
- <% pkg_datestr($cust_pkg, 'setup', $conf) %>
- </TR>
-% }
-% }
-% if ( $cust_pkg->get('last_bill') ) {
-
- <TR>
- <TD WIDTH="<%$width%>" ALIGN="right"><% $last_bill_or_renewed %> </TD>
- <% pkg_datestr($cust_pkg, 'last_bill', $conf) %>
- </TR>
-% }
-% if ( $cust_pkg->get('bill') ) { #next bill
-
- <TR>
- <TD WIDTH="<%$width%>" ALIGN="right"><% $next_bill_or_prepaid_until %> </TD>
- <% 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>
- <TD WIDTH="<%$width%>" ALIGN="right">Expires </TD>
- <% pkg_datestr($cust_pkg, 'expire', $conf) %>
- </TR>
-% }
-% if ( $part_pkg->freq ) {
-
- <TR>
- <TD COLSPAN=<%$colspan%>>
- <FONT SIZE=-1>
-% if ( $curuser->access_right('Suspend customer package') ) {
-
- ( <% 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) %> )
-% }
-% if ( $curuser->access_right('Cancel customer package later') ) {
-
- ( <% pkg_expire_link($cust_pkg) %> )
-% }
-
- <FONT>
- </TD>
- </TR>
-% }
-% }
-% }