Add "overpaid" status for equity import batch rows

This commit is contained in:
Lance Edgar 2023-09-15 12:57:20 -05:00
parent 297e0fb126
commit e15328043f

View file

@ -69,6 +69,7 @@ class CoreEquityImportBatchRow(model.BatchRowMixin, model.Base):
STATUS_MISSING_VALUES = 3
STATUS_NEEDS_ATTENTION = 4
STATUS_ALREADY_IN_CORE = 5
STATUS_EQUITY_OVERPAID = 6
STATUS = {
STATUS_OK : "ok",
@ -76,6 +77,7 @@ class CoreEquityImportBatchRow(model.BatchRowMixin, model.Base):
STATUS_MISSING_VALUES : "missing values",
STATUS_NEEDS_ATTENTION : "needs attention",
STATUS_ALREADY_IN_CORE : "already in CORE-POS",
STATUS_EQUITY_OVERPAID : "equity overpaid",
}
payment_uuid = sa.Column(sa.String(length=32), nullable=True)