remove any reference to the old billing_type retrieval method, since it's doing more...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 8 Dec 2008 21:07:18 +0000 (21:07 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 8 Dec 2008 21:07:18 +0000 (21:07 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@11453 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
Open-ILS/xul/staff_client/chrome/content/main/constants.js

index 0fad32f..cee3eaa 100644 (file)
@@ -493,21 +493,6 @@ OpenILS.data.prototype = {
 
                this.chain.push(
                        function() {
-                               try {
-                                       var robj = obj.network.simple_request('BILLING_TYPE_LIST',[]);
-                                       if (typeof robj.ilsevent != 'undefined') throw(robj);
-                                       obj.list.billing_type = robj;
-                                       obj.data_progress('Retrieved billing type list. ');
-                               } catch(E) {
-                                       var error = 'Error: ' + js2JSON(E);
-                                       obj.error.sdump('D_ERROR',error);
-                                       throw(E);
-                               }
-                       }
-               );
-
-               this.chain.push(
-                       function() {
                                var f = gen_fm_retrieval_func(
                                        'cnal',
                                        [
index 28e2def..d113f86 100644 (file)
@@ -28,7 +28,6 @@ const api = {
        'AUTH_WORKSTATION' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.workstation.register' },
        'AUTH_VERIFY_CREDENTIALS' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.verify_user_password' },
        'BILL_PAY' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.payment' },
-       'BILLING_TYPE_LIST' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.billing_type.retrieve.all', 'secure' : false },
        'BLOB_AU_PARTS_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.retrieve.parts', 'cacheable' : true, 'ttl' : 120000 },
        'BLOB_MARC_CALLNUMBERS_RETRIEVE' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.record.marc_cn.retrieve', 'secure' : false },
        'BLOB_MOBTS_CIRC_MVR_HAVING_BALANCE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.have_balance.fleshed' },