
######################
# WEBSERVICE_RUNNING #
######################

WSR_ALL = ['serivce_tariff_local']

#TODO - providers+resources on map
#WSR_CLIENT_MY = ['order_local', 'orders_local', 'frequent_address', 'favorite_contacts', 'preferred_providers']
#WSR_MENU_CLIENT_MY_OPERATIONS = ['order_local/add']
#WSR_NOT_MENU_CLIENT_MY_OPERATIONS = ['order_local/edit', 'frequent_address/add', 'frequent_address/edit', 'frequent_address/del', 'favorite_contacts/add', 'favorite_contacts/edit', 'favorite_contacts/del', 'preferred_providers/add', 'preferred_providers/edit', 'preferred_providers/del']

#WEBSERVICE_RUNNING_MENU
MENU_GLOBAL_CUSTOMIZABLE = ['main_assist', 'service_tariffs_local', 'ticket_list_list']
STAFF_METASERVICE_MENU_CUSTOMIZABLE = ['resources_local', 'providers_local', 'orders_local', 'cooperate_request' ]
STAFF_MY_PARTNER_MENU_CUSTOMIZABLE = ['resources_local', 'providers_local', 'orders_local']
STAFF_MY_PROVIDER_MENU_CUSTOMIZABLE = ['resources_local', 'orders_local']
CLIENT_MY_MENU_CUSTOMIZABLE = ['orders', 'cooperate_request', 'order_local/add', 'orders_local', 'frequent_address', 'frequent_contacts', 'preferred_providers']

#CUSTOM PAGES
WSR_EXTENDED_MY = []
#WSR_EXTENDED_MY = ['frequent_address', 'frequent_contacts', 'preferred_providers']
WSR_EXTENDED = []
#TODO - providers+resources on map (NOT MY, GLOBAL or MY meant by geolocation+preferences)


MENU_SCHEME_LIST = {
    'main': ['sharix_admin', 'house', 'Главная'],
    'main_local': ['webservice_running', 'House', 'Главная сервиса'],
#    'orders': ['sharix_admin', 'clock-history', 'Заказы'],
    'service_categories': ['sharix_admin', 'briefcase', 'Категории услуг'],
    'service_tariffs': ['sharix_admin', 'briefcase', 'Тарифы'],
    'partners': ['sharix_admin', 'handshake', 'Партнеры'],
    'resources': ['sharix_admin', 'hdd-network', 'Ресурсы'],
    'resources_local': ['webservice_running', 'hdd-network', 'Ресурсы'],
    'providers': ['sharix_admin', 'person', 'Исполнители'],
    #'providers_local': ['webservice_running', 'person', 'Исполнители'],
    'orders': ['sharix_admin', 'clock-history', 'Заказы'],
    'orders_local': ['webservice_running', 'House', 'Заказы'],
    'access_control': ['sharix_admin', 'hdd-network', 'Права доступа'],
    'relationship': ['sharix_admin', 'hdd-network', 'Взаимоотношения'],
    'ticket_list_list': ['tickets', 'tickets', 'Заявки'],
    'support_chat': ['sharix_admin', 'tickets', 'Чат техподдержки'],
    'cooperate_request': ['sharix_admin', 'credit-card', 'Стать партнером'],
    'job_request_metaservice': ['sharix_admin', 'credit-card', 'Вакансии'],
#    'frequent_address': ['webservice_running', 'person', 'Частые адреса'],
#    'frequent_contacts': ['webservice_running', 'person', 'Частые контакты'],
    'preferred_providers': ['webservice_running', 'person', 'Желаемые исполнители'],
    }

