django-orchestra-test/orchestra/apps/bills/settings.py

42 lines
1.5 KiB
Python
Raw Normal View History

2014-07-23 16:24:56 +00:00
from django.conf import settings
2014-08-19 18:59:23 +00:00
2014-08-22 11:28:46 +00:00
BILLS_NUMBER_LENGTH = getattr(settings, 'BILLS_NUMBER_LENGTH', 4)
2014-08-19 18:59:23 +00:00
2014-08-22 11:28:46 +00:00
BILLS_INVOICE_NUMBER_PREFIX = getattr(settings, 'BILLS_INVOICE_NUMBER_PREFIX', 'I')
2014-08-19 18:59:23 +00:00
2014-08-22 11:28:46 +00:00
BILLS_AMENDMENT_INVOICE_NUMBER_PREFIX = getattr(settings, 'BILLS_AMENDMENT_INVOICE_NUMBER_PREFIX', 'A')
2014-08-19 18:59:23 +00:00
2014-08-22 11:28:46 +00:00
BILLS_FEE_NUMBER_PREFIX = getattr(settings, 'BILLS_FEE_NUMBER_PREFIX', 'F')
2014-08-19 18:59:23 +00:00
2014-08-22 11:28:46 +00:00
BILLS_AMENDMENT_FEE_NUMBER_PREFIX = getattr(settings, 'BILLS_AMENDMENT_FEE_NUMBER_PREFIX', 'B')
2014-08-19 18:59:23 +00:00
2014-09-11 14:00:20 +00:00
BILLS_PROFORMA_NUMBER_PREFIX = getattr(settings, 'BILLS_PROFORMA_NUMBER_PREFIX', 'P')
2014-08-19 18:59:23 +00:00
2014-08-29 12:45:27 +00:00
BILLS_DEFAULT_TEMPLATE = getattr(settings, 'BILLS_DEFAULT_TEMPLATE', 'bills/microspective.html')
BILLS_FEE_TEMPLATE = getattr(settings, 'BILLS_FEE_TEMPLATE', 'bills/microspective-fee.html')
2014-09-11 14:00:20 +00:00
BILLS_PROFORMA_TEMPLATE = getattr(settings, 'BILLS_PROFORMA_TEMPLATE', 'bills/microspective-proforma.html')
2014-08-29 12:45:27 +00:00
2014-08-19 18:59:23 +00:00
BILLS_CURRENCY = getattr(settings, 'BILLS_CURRENCY', 'euro')
BILLS_SELLER_PHONE = getattr(settings, 'BILLS_SELLER_PHONE', '111-112-11-222')
BILLS_SELLER_EMAIL = getattr(settings, 'BILLS_SELLER_EMAIL', 'sales@orchestra.lan')
BILLS_SELLER_WEBSITE = getattr(settings, 'BILLS_SELLER_WEBSITE', 'www.orchestra.lan')
2014-09-04 15:55:43 +00:00
BILLS_SELLER_BANK_ACCOUNT = getattr(settings, 'BILLS_SELLER_BANK_ACCOUNT', '0000 0000 00 00000000 (Orchestra Bank)')
2014-09-04 15:55:43 +00:00
BILLS_EMAIL_NOTIFICATION_TEMPLATE = getattr(settings, 'BILLS_EMAIL_NOTIFICATION_TEMPLATE',
'bills/bill-notification.email')
2014-09-26 15:05:20 +00:00
BILLS_ORDER_MODEL = getattr(settings, 'BILLS_ORDER_MODEL', 'orders.Order')