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:
parent
c945b887d6
commit
6dc26fd4be
|
@ -2,7 +2,7 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# Rattail -- Retail Software Framework
|
# Rattail -- Retail Software Framework
|
||||||
# Copyright © 2010-2023 Lance Edgar
|
# Copyright © 2010-2024 Lance Edgar
|
||||||
#
|
#
|
||||||
# This file is part of Rattail.
|
# This file is part of Rattail.
|
||||||
#
|
#
|
||||||
|
@ -45,6 +45,7 @@ class CoreEquityImportBatchView(BatchMasterView):
|
||||||
route_prefix = 'batch.corepos.equity_import'
|
route_prefix = 'batch.corepos.equity_import'
|
||||||
url_prefix = '/batch/corepos-equity-import'
|
url_prefix = '/batch/corepos-equity-import'
|
||||||
rows_bulk_deletable = True
|
rows_bulk_deletable = True
|
||||||
|
rows_deletable_if_executed = True
|
||||||
|
|
||||||
row_labels = {
|
row_labels = {
|
||||||
'member_type_id': "Member Type",
|
'member_type_id': "Member Type",
|
||||||
|
|
Loading…
Reference in a new issue