projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
83fef36
)
RT#18361: Delay package from billing until services are provisioned [rename method]
author
Jonathan Prykop
<jonathan@freeside.biz>
Fri, 7 Aug 2015 04:11:20 +0000
(23:11 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Fri, 7 Aug 2015 04:11:20 +0000
(23:11 -0500)
FS/FS/cust_svc.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_svc.pm
b/FS/FS/cust_svc.pm
index
c5099fc
..
974af67
100644
(file)
--- a/
FS/FS/cust_svc.pm
+++ b/
FS/FS/cust_svc.pm
@@
-121,7
+121,7
@@
sub insert {
my $error = $self->SUPER::insert;
#check if this releases a hold (see FS::pkg_svc provision_hold)
my $error = $self->SUPER::insert;
#check if this releases a hold (see FS::pkg_svc provision_hold)
- $error ||= $self->_provision_hold;
+ $error ||= $self->_
check_
provision_hold;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
@@
-460,7
+460,7
@@
sub replace {
} # if this is a location change
#check if this releases a hold (see FS::pkg_svc provision_hold)
} # if this is a location change
#check if this releases a hold (see FS::pkg_svc provision_hold)
- $error ||= $new->_provision_hold;
+ $error ||= $new->_
check_
provision_hold;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
@@
-1246,7
+1246,7
@@
sub smart_search_param {
# then removes hold from pkg
# returns $error or '' on success,
# does not indicate if pkg status was changed
# then removes hold from pkg
# returns $error or '' on success,
# does not indicate if pkg status was changed
-sub _provision_hold {
+sub _
check_
provision_hold {
my $self = shift;
# check status of cust_pkg
my $self = shift;
# check status of cust_pkg