[freeside-commits] freeside/httemplate/search cust_pkg.cgi, 1.42.2.1, 1.42.2.2 report_cust_pkg.html, 1.6.2.1, 1.6.2.2
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Jun 26 08:36:56 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv2363/httemplate/search
Modified Files:
Tag: FREESIDE_1_7_BRANCH
cust_pkg.cgi report_cust_pkg.html
Log Message:
suspend later just like expire (#1487)
Index: report_cust_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_pkg.html,v
retrieving revision 1.6.2.1
retrieving revision 1.6.2.2
diff -u -d -r1.6.2.1 -r1.6.2.2
--- report_cust_pkg.html 11 May 2007 23:19:14 -0000 1.6.2.1
+++ report_cust_pkg.html 26 Jun 2007 15:36:54 -0000 1.6.2.2
@@ -26,7 +26,7 @@
if ( what.options[what.selectedIndex].value == '<% $status %>' ) {
-% foreach my $field (qw( setup last_bill bill susp expire cancel )) {
+% foreach my $field (qw( setup last_bill bill adjourn susp expire cancel )) {
% if ( $disable{$status}->{$field} ) {
what.form.<% $field %>_beginning_text.disabled = true;
@@ -68,7 +68,7 @@
)
%>
-% foreach my $field (qw( setup last_bill bill susp expire cancel )) {
+% foreach my $field (qw( setup last_bill bill adjourn susp expire cancel )) {
<TR>
<TD ALIGN="right" VALIGN="center"><% $label{$field} %></TD>
@@ -116,6 +116,7 @@
'setup' => 'Setup',
'last_bill' => 'Last bill',
'bill' => 'Next bill',
+ 'adjourn' => 'Adjourns',
'susp' => 'Suspended',
'expire' => 'Expires',
'cancel' => 'Cancelled',
@@ -124,7 +125,7 @@
#false laziness w/cust_pkg.cgi
my %disable = (
'all' => {},
- 'one-time charge' => { 'last_bill'=>1, 'bill'=>1, 'susp'=>1, 'expire'=>1, 'cancel'=>1, },
+ 'one-time charge' => { 'last_bill'=>1, 'bill'=>1, 'adjourn'=>1, 'susp'=>1, 'expire'=>1, 'cancel'=>1, },
'active' => { 'susp'=>1, 'cancel'=>1 },
'suspended' => { 'cancel' => 1 },
'cancelled' => {},
Index: cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pkg.cgi,v
retrieving revision 1.42.2.1
retrieving revision 1.42.2.2
diff -u -d -r1.42.2.1 -r1.42.2.2
--- cust_pkg.cgi 23 Apr 2007 23:34:53 -0000 1.42.2.1
+++ cust_pkg.cgi 26 Jun 2007 15:36:54 -0000 1.42.2.2
@@ -12,6 +12,7 @@
'Setup',
'Last bill',
'Next bill',
+ 'Adjourn',
'Susp.',
'Expire',
'Cancel',
@@ -43,7 +44,7 @@
#sub { time2str('%b %d %Y', shift->expire); },
#sub { time2str('%b %d %Y', shift->get('cancel')); },
( map { time_or_blank($_) }
- qw( setup last_bill bill susp expire cancel ) ),
+ qw( setup last_bill bill adjourn susp expire cancel ) ),
\&FS::UI::Web::cust_fields,
#sub { '<table border=0 cellspacing=0 cellpadding=0 STYLE="border:none">'.
@@ -210,14 +211,14 @@
#false laziness w/report_cust_pkg.html
my %disable = (
'all' => {},
- 'one-time charge' => { 'last_bill'=>1, 'bill'=>1, 'susp'=>1, 'expire'=>1, 'cancel'=>1, },
+ 'one-time charge' => { 'last_bill'=>1, 'bill'=>1, 'adjourn'=>1, 'susp'=>1, 'expire'=>1, 'cancel'=>1, },
'active' => { 'susp'=>1, 'cancel'=>1 },
'suspended' => { 'cancel' => 1 },
'cancelled' => {},
'' => {},
);
-foreach my $field (qw( setup last_bill bill susp expire cancel )) {
+foreach my $field (qw( setup last_bill bill adjourn susp expire cancel )) {
my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi, $field);
More information about the freeside-commits
mailing list