forked from redknitin/Helpdesk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp_config.rb
More file actions
25 lines (22 loc) · 744 Bytes
/
app_config.rb
File metadata and controls
25 lines (22 loc) · 744 Bytes
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
#
# NOTES
#
# Dev note - only define configuration settings here for hardcoded data that will be moved to master data in future
class AppConfig
MASTER_ROLES = ['requester', 'helpdesk', 'admin']
MASTER_STATUSES = ['New', 'In Progress', 'Suspended', 'Completed', 'Cancelled']
MASTER_FILETAG = ['Request For Quotation', 'Quotation', 'Requisition', 'Purchase Order']
#
# UI settings
#
UI_PAGE_SIZE = 10
#UI_LOGO_URL = '/logo.png'
#UI_LOGO_ALT_TEXT = ''
#UI_MENU_MODULES = ['Reactive Management', 'Preventive Management', 'Inventory', 'Procurement', 'Personnel']
GENERATOR = 'Helpdesk'
if File.exists?('app_config.env.rb')
require_relative 'app_config.env'
else
require_relative 'app_config.defaults'
end
end