Make CORE key fields readonly when viewing equity payment
This commit is contained in:
parent
5a20904f79
commit
f540dfce43
|
@ -130,11 +130,21 @@ class MemberEquityPaymentViewSupplement(ViewSupplement):
|
|||
g.set_sorter('corepos_datetime', model.CoreMemberEquityPayment.corepos_datetime)
|
||||
|
||||
def configure_form(self, f):
|
||||
|
||||
f.append('corepos_card_number')
|
||||
f.set_readonly('corepos_card_number')
|
||||
|
||||
f.append('corepos_transaction_number')
|
||||
f.set_readonly('corepos_transaction_number')
|
||||
|
||||
f.append('corepos_transaction_id')
|
||||
f.set_readonly('corepos_transaction_id')
|
||||
|
||||
f.append('corepos_department_number')
|
||||
f.set_readonly('corepos_department_number')
|
||||
|
||||
f.append('corepos_datetime')
|
||||
f.set_readonly('corepos_datetime')
|
||||
|
||||
def get_version_child_classes(self):
|
||||
model = self.model
|
||||
|
|
Loading…
Reference in a new issue