34 lines
1008 B
Python
34 lines
1008 B
Python
from django.db import models
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class EvaluationPurpose(models.TextChoices):
|
|
SALE = "sale", _("Sale")
|
|
BANK = "bank", _("Bank/Loan")
|
|
INSURANCE = "insurance", _("Insurance")
|
|
INHERITANCE = "inheritance", _("Inheritance")
|
|
COURT = "court", _("Court/Judicial")
|
|
OTHER = "other", _("Other")
|
|
|
|
|
|
class EvaluationType(models.TextChoices):
|
|
AUTO = "auto", _("Auto")
|
|
REAL_ESTATE = "real_estate", _("Real Estate")
|
|
MOVABLE_PROPERTY = "movable_property", _("Movable Property")
|
|
|
|
|
|
class ValuationStatus(models.TextChoices):
|
|
DRAFT = "draft", _("Draft")
|
|
PENDING = "pending", _("Pending")
|
|
IN_REVIEW = "in_review", _("In Review")
|
|
APPROVED = "approved", _("Approved")
|
|
REJECTED = "rejected", _("Rejected")
|
|
PAID = "paid", _("Paid")
|
|
COMPLETED = "completed", _("Completed")
|
|
|
|
|
|
class PaymentStatus(models.TextChoices):
|
|
UNPAID = "unpaid", _("Unpaid")
|
|
PENDING = "pending", _("Pending")
|
|
PAID = "paid", _("Paid")
|