-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsettings.js
76 lines (55 loc) · 2.16 KB
/
settings.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
var settings = {
/////////////////////////////////////////////////////////////////////////
// general
// URL to the strichliste api server
server: 'https://demo.strichliste.org/api',
// period from which on the user counts as inactive [false=disabled]
// format: https://www.npmjs.com/package/ms
inactiveUserPeriod: '30d',
// the time of inactivity, before strichliste switches back to home screen
// [false=disabled]
// format: https://www.npmjs.com/package/ms
idleTimeout: '30s',
/////////////////////////////////////////////////////////////////////////
// audio
audio: {
transaction: 'cash-register.ogg'
},
// For performance, one can switch the index page to a "tabbed" mode for active/inactive users
// The users/html-elements are not rendered until the tab is opened
index: {
tabbed: false
},
/////////////////////////////////////////////////////////////////////////
// payments
paymentSteps: {
// payment steps for wallet charging
deposit: [0.50, 1.00, 2.00, 5.00, 10.00],
enableDeposit: true,
// payment steps for payment
dispense: [0.50, 1.00, 1.50, 2.00, 0.70],
enableDispense: true,
// payment steps for transfer
transfer: [0.50, 1.00, 2.00, 5.00, 10.00],
enableTransfer: false,
// enables custom transactions. If enabled, payment steps are reduced
// to only 4 steps
customTransactions: true
},
// Enable comment section for custom transfers, Requires backend >= 1.6.0
comments: false,
/////////////////////////////////////////////////////////////////////////
// i18n section
i18n: {
// date formatting
dateFormat: 'YYYY-MM-DD HH:mm:ss',
// the timezone in which the date is shown [auto=browser locale]
// Possible value might be 'Europe/Berlin'. For a full list
// visit: https://github.com/moment/moment-timezone/blob/develop/data/meta/latest.json
timezone: 'auto',
// preferred language of strichliste
preferredLanguage: 'en',
// your currency
currency: "€"
}
};