add contract models and register this models admin panel

This commit is contained in:
behruz-dev
2025-07-15 16:01:34 +05:00
parent 92838f1dde
commit 66d4713a61
16 changed files with 370 additions and 1 deletions

View File

View File

@@ -0,0 +1,12 @@
SIDES = (
('two_or_more', 'two or more',),
('customer_only', 'customer only',),
('only_company', 'onlycompany'),
)
STATUS = (
('created', 'created',),
('signed_company', 'signed by company',),
('signed_customer', 'signed by customer',),
('cancelled', 'cancelled')
)

View File

@@ -0,0 +1,12 @@
FILE_TYPE = (
('all_files', 'all files',),
('PDF', 'pdf',),
('word_files', 'word files',),
('image', 'image'),
)
USER_PERMISSION = (
('all', 'all'),
('add', 'add'),
('delete', 'delete'),
)

View File

@@ -0,0 +1,15 @@
NOTIFICATION_EVENT = (
('exact_date', 'exact date'),
('counterparty_signing', 'counterparty signing'),
('signature_all_parties', 'Signature of all parties')
)
TYPE_NOTIFICATION = (
('sms', 'sms'),
('whatsup', 'whatsup'),
)
TYPE_MESSAGE = (
('krill', 'krill'),
('latin', 'latin'),
)

View File

@@ -0,0 +1,4 @@
ROLE = (
('physical', 'physical'),
('legal', 'legal'),
)

View File

@@ -0,0 +1,9 @@
SIGNATURE_STATUS = (
('signed', 'signed'),
('organized', 'organized')
)
SIGNATURE_TYPE = (
('sms_sign', 'sms signature'),
('electronic_sing', 'electronic signature')
)