[freeside-commits] freeside/FS/FS cust_pkg.pm,1.103,1.104

Jeff Finucane,420,, jeff at wavetail.420.am
Mon Dec 15 16:08:26 PST 2008


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv4590

Modified Files:
	cust_pkg.pm 
Log Message:
proper dates on expire and suspend reasons

Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- cust_pkg.pm	22 Nov 2008 22:17:26 -0000	1.103
+++ cust_pkg.pm	16 Dec 2008 00:08:23 -0000	1.104
@@ -551,6 +551,7 @@
   if ( $options{'reason'} ) {
     $error = $self->insert_reason( 'reason' => $options{'reason'},
                                    'action' => $date ? 'expire' : 'cancel',
+                                   'date'   => $date,
                                    'reason_otaker' => $options{'reason_otaker'},
                                  );
     if ( $error ) {
@@ -751,6 +752,7 @@
   if ( $options{'reason'} ) {
     $error = $self->insert_reason( 'reason' => $options{'reason'},
                                    'action' => $date ? 'adjourn' : 'suspend',
+                                   'date'   => $date,
                                    'reason_otaker' => $options{'reason_otaker'},
                                  );
     if ( $error ) {



More information about the freeside-commits mailing list