From: jeff Date: Tue, 16 Dec 2008 00:08:23 +0000 (+0000) Subject: proper dates on expire and suspend reasons X-Git-Tag: root_of_webpay_support~192 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=d50f5d9f6105536e1c65eea5c0129494bed4f154 proper dates on expire and suspend reasons --- diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index e359fc9fc..6807383d9 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -551,6 +551,7 @@ sub cancel { 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 @@ sub suspend { if ( $options{'reason'} ) { $error = $self->insert_reason( 'reason' => $options{'reason'}, 'action' => $date ? 'adjourn' : 'suspend', + 'date' => $date, 'reason_otaker' => $options{'reason_otaker'}, ); if ( $error ) {