diff options
| author | ivan <ivan> | 2008-10-24 22:23:39 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2008-10-24 22:23:39 +0000 | 
| commit | f7f4bae5a7f8891957eed9a10bbdfc8363bc08e9 (patch) | |
| tree | 0b6461f5f23926ab95deb4c2a44769f30cfa5b3e /FS | |
| parent | 92adead1404db357a11b58f38c2b4403381a2809 (diff) | |
adding prepaid self-service hooks, RT#4100
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/ClientAPI/PrepaidPhone.pm | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/FS/FS/ClientAPI/PrepaidPhone.pm b/FS/FS/ClientAPI/PrepaidPhone.pm index 2d6297a8a..8f534910c 100644 --- 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; | 
