[freeside-commits] freeside/FS/FS/ClientAPI PrepaidPhone.pm, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Fri Oct 24 15:23:42 PDT 2008


Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv11650/FS/FS/ClientAPI

Modified Files:
	PrepaidPhone.pm 
Log Message:
adding prepaid self-service hooks, RT#4100

Index: PrepaidPhone.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/PrepaidPhone.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- PrepaidPhone.pm	24 Oct 2008 21:31:38 -0000	1.1
+++ PrepaidPhone.pm	24 Oct 2008 22:23:39 -0000	1.2
@@ -79,10 +79,11 @@
                           );
 
   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;



More information about the freeside-commits mailing list