18 lines
814 B
Python
18 lines
814 B
Python
from ahserver.serverenv import ServerEnv
|
|
from accounting.openaccount import openAllResellerAccounts
|
|
from accounting.openaccount import openAllCustomerAccounts
|
|
from accounting.openaccount import openAllProviderAccounts
|
|
from accounting.openaccount import openRetailRelationshipAccounts
|
|
from accounting.openaccount import openOwnerAccounts
|
|
from accounting.recharge import recharge_accounting
|
|
from accounting.getaccount import getAccountBalance, getCustomerBalance
|
|
|
|
def load_accounting():
|
|
g = ServerEnv()
|
|
g.openAllResellerAccounts = openAllResellerAccounts
|
|
g.openAllCustomerAccounts = openAllCustomerAccounts
|
|
g.openAllProviderAccounts = openAllProviderAccounts
|
|
g.openRetailRelationshipAccounts = openRetailRelationshipAccounts
|
|
g.openOwnerAccounts = openOwnerAccounts
|
|
g.recharge_accounting = recharge_accounting
|