bugfix
This commit is contained in:
parent
ec250a1593
commit
6b3f2710a4
7
wwwroot/open_customer_accounts.dspy
Normal file
7
wwwroot/open_customer_accounts.dspy
Normal file
@ -0,0 +1,7 @@
|
||||
debug(f'{params_kw=}')
|
||||
dbname = get_module_dbname('accounting')
|
||||
db = DBPools()
|
||||
async with db.sqlorContext(dbname) as sor:
|
||||
await openCustomerAccounts(sor, '0', params_kw.orgid)
|
||||
return f'{params_kw.orgid} accounts opened')
|
||||
return f'{db.e_except=}
|
||||
7
wwwroot/open_owner_accounts.dspy
Normal file
7
wwwroot/open_owner_accounts.dspy
Normal file
@ -0,0 +1,7 @@
|
||||
debug(f'{params_kw=}')
|
||||
dbname = get_module_dbname('accounting')
|
||||
db = DBPools()
|
||||
async with db.sqlorContext(dbname) as sor:
|
||||
await openOwnerAccounts(sor, '0')
|
||||
return f'0 accounts opened')
|
||||
return f'{db.e_except=}
|
||||
7
wwwroot/open_reseller_accounts.dspy
Normal file
7
wwwroot/open_reseller_accounts.dspy
Normal file
@ -0,0 +1,7 @@
|
||||
debug(f'{params_kw=}')
|
||||
dbname = get_module_dbname('accounting')
|
||||
db = DBPools()
|
||||
async with db.sqlorContext(dbname) as sor:
|
||||
await openResellerAccounts(sor, '0', params_kw.orgid)
|
||||
return f'{params_kw.orgid} accounts opened')
|
||||
return f'{db.e_except=}
|
||||
Loading…
x
Reference in New Issue
Block a user