projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
92adead
)
adding prepaid self-service hooks, RT#4100
author
ivan
<ivan>
Fri, 24 Oct 2008 22:23:39 +0000
(22:23 +0000)
committer
ivan
<ivan>
Fri, 24 Oct 2008 22:23:39 +0000
(22:23 +0000)
FS/FS/ClientAPI/PrepaidPhone.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/PrepaidPhone.pm
b/FS/FS/ClientAPI/PrepaidPhone.pm
index
2d6297a
..
8f53491
100644
(file)
--- a/
FS/FS/ClientAPI/PrepaidPhone.pm
+++ b/
FS/FS/ClientAPI/PrepaidPhone.pm
@@
-79,10
+79,11
@@
sub call_time {
);
unless ( $svc_phone ) {
- return { 'custnum' => '',
- 'seconds' => 0,
- #'balance' => 0,
- };
+ return { 'error' => "can't find customer for +$countrycode $phonenum" };
+# return { 'custnum' => '',
+# 'seconds' => 0,
+# #'balance' => 0,
+# };
};
my $cust_pkg = $svc_phone->cust_svc->cust_pkg;