lation_shops does all of this out of the box, see lation_shops below.
Integrate your resource
1
Open the account
Once per business, under an id of your own. Prefix it with your resource so it can never collide with a job name or an account number.CreateAccount answers
nil, 'exists' when the account is already open, so this is safe to run on every start. The account exports wait for the bank to finish loading before they answer.2
Move the money through the bank
3
Keep the owner and the staff in step
false. Staff who should not see it are not members.4
Mirror moves made at the bank
Only if your resource keeps its own balance. Money also moves without you: the owner withdraws at an ATM, a customer transfers in. Follow the bank’s ledger so your own UI shows the same figure.The event and its fields are on the server exports page.
What the player gets
lation_shops
With lation_shops 1.9.0 and lation_banking 1.1.0 both running, every shop’s balance is a business account named after the shop, idshop:<shopId>. Nothing to set up: banking on auto finds the bank, and the first start opens the accounts with the balances the shops already hold.
The shop keeps its own balance in step the whole time, so its dashboard shows what the bank shows, and switching to another banking system later loses nothing. Turn it off under Administration → Config → Finances → Bank accounts.
