X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2Fcust_pkg.pm;h=6807383d948e7dfa4067508e12c67fb810f07dcd;hb=d50f5d9f6105536e1c65eea5c0129494bed4f154;hp=e359fc9fcb95a4bb82a53707079a5c0c74ee5feb;hpb=15a20c32c0314b189e6b7fd048e775e75cc7d384;p=freeside.git 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 ) {