From e15328043f4145e953e61ea8043f7421a376995c Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 15 Sep 2023 12:57:20 -0500 Subject: [PATCH] Add "overpaid" status for equity import batch rows --- rattail_corepos/db/model/batch/equityimport.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rattail_corepos/db/model/batch/equityimport.py b/rattail_corepos/db/model/batch/equityimport.py index 5c7c5b1..3771bf4 100644 --- a/rattail_corepos/db/model/batch/equityimport.py +++ b/rattail_corepos/db/model/batch/equityimport.py @@ -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)