Allow deleting rows from equity import batch after execution

in some cases we need to delete proper equity payment records, but
that can't happen if referenced by an import batch.  so admin needs
the ability to delete referencing rows for sake of deleting payment
This commit is contained in:
Lance Edgar 2024-04-25 14:05:56 -05:00
parent c945b887d6
commit 6dc26fd4be

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2023 Lance Edgar
# Copyright © 2010-2024 Lance Edgar
#
# This file is part of Rattail.
#
@ -45,6 +45,7 @@ class CoreEquityImportBatchView(BatchMasterView):
route_prefix = 'batch.corepos.equity_import'
url_prefix = '/batch/corepos-equity-import'
rows_bulk_deletable = True
rows_deletable_if_executed = True
row_labels = {
'member_type_id': "Member Type",