mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 17:23:25 +00:00
ENH - refine banking experience
This commit is contained in:
@@ -55,7 +55,7 @@ describe('banking store', () => {
|
||||
const banking = useBankingStore()
|
||||
banking.overview = overview
|
||||
|
||||
await banking.perform('withdraw', 50000)
|
||||
await banking.perform('transfer', 50000, 17)
|
||||
|
||||
expect(banking.overview).toEqual(overview)
|
||||
expect(banking.error).toBe('insufficient_funds')
|
||||
|
||||
@@ -216,8 +216,6 @@ const defaultLocales: LocaleTree = {
|
||||
recentPeriod: 'in recent activity',
|
||||
actions: 'Banking actions',
|
||||
send: 'Send',
|
||||
deposit: 'Deposit',
|
||||
withdraw: 'Withdraw',
|
||||
accounts: 'Accounts',
|
||||
bankAccount: 'Bank account',
|
||||
cash: 'Cash',
|
||||
@@ -249,16 +247,6 @@ const defaultLocales: LocaleTree = {
|
||||
body: 'Transfer money from your bank account to an online player.',
|
||||
submit: 'Send transfer',
|
||||
},
|
||||
deposit: {
|
||||
title: 'Deposit cash',
|
||||
body: 'Move cash from your wallet into your bank account.',
|
||||
submit: 'Deposit cash',
|
||||
},
|
||||
withdraw: {
|
||||
title: 'Withdraw cash',
|
||||
body: 'Move money from your bank account into your wallet.',
|
||||
submit: 'Withdraw cash',
|
||||
},
|
||||
},
|
||||
errors: {
|
||||
invalid_request: 'Enter a valid whole amount and player ID.',
|
||||
|
||||
Reference in New Issue
Block a user