2014-09-17 10:32:29 +00:00
|
|
|
from django.conf import settings
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
|
|
|
|
|
|
SERVICES_SERVICE_TAXES = getattr(settings, 'SERVICES_SERVICE_TAXES', (
|
|
|
|
(0, _("Duty free")),
|
2014-10-21 11:22:31 +00:00
|
|
|
(21, "21%"),
|
2014-09-17 10:32:29 +00:00
|
|
|
))
|
|
|
|
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
SERVICES_SERVICE_DEFAULT_TAX = getattr(settings, 'SERVICES_SERVICE_DEFAULT_TAX',
|
|
|
|
0
|
|
|
|
)
|
2014-09-17 10:32:29 +00:00
|
|
|
|
2014-09-26 10:38:50 +00:00
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
SERVICES_SERVICE_ANUAL_BILLING_MONTH = getattr(settings, 'SERVICES_SERVICE_ANUAL_BILLING_MONTH',
|
|
|
|
1
|
|
|
|
)
|
2014-09-26 10:38:50 +00:00
|
|
|
|
2014-10-24 10:16:46 +00:00
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
SERVICES_ORDER_MODEL = getattr(settings, 'SERVICES_ORDER_MODEL',
|
|
|
|
'orders.Order'
|
|
|
|
)
|
2014-10-24 10:16:46 +00:00
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
|
|
|
SERVICES_RATE_CLASS = getattr(settings, 'SERVICES_RATE_CLASS',
|
2015-04-05 10:46:24 +00:00
|
|
|
'orchestra.contrib.plans.models.Rate'
|
2015-03-31 12:39:08 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
SERVICES_DEFAULT_IGNORE_PERIOD = getattr(settings, 'SERVICES_DEFAULT_IGNORE_PERIOD',
|
|
|
|
'TEN_DAYS'
|
|
|
|
)
|
2015-04-02 16:14:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
SERVICES_IGNORE_ACCOUNT_TYPE = getattr(settings, 'SERVICES_IGNORE_ACCOUNT_TYPE', (
|
|
|
|
'superuser',
|
|
|
|
'STAFF',
|
|
|
|
'FRIEND',
|
|
|
|
))
|