lingo: reorder TIPI PESv2 fields (#35008)
This commit is contained in:
parent
371dc7d827
commit
f93aeb232a
|
@ -746,9 +746,19 @@ class TipiPaymentFormCell(CellBase):
|
||||||
def get_cell_extra_context(self, context):
|
def get_cell_extra_context(self, context):
|
||||||
extra_context = super(TipiPaymentFormCell, self).get_cell_extra_context(context)
|
extra_context = super(TipiPaymentFormCell, self).get_cell_extra_context(context)
|
||||||
form_fields = self.get_default_form_class().base_fields
|
form_fields = self.get_default_form_class().base_fields
|
||||||
field_definitions = ({'protocol': 'any', 'fields': ['exer']},
|
field_definitions = (
|
||||||
{'protocol': 'pesv2', 'fields': ['idligne', 'idpce']},
|
{
|
||||||
{'protocol': 'rolmre', 'fields': ['rolrec', 'roldeb', 'roldet']}
|
'protocol': 'any',
|
||||||
|
'fields': ['exer']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'protocol': 'pesv2',
|
||||||
|
'fields': ['idpce', 'idligne']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'protocol': 'rolmre',
|
||||||
|
'fields': ['rolrec', 'roldeb', 'roldet']
|
||||||
|
},
|
||||||
)
|
)
|
||||||
reference_fields = []
|
reference_fields = []
|
||||||
for definition in field_definitions:
|
for definition in field_definitions:
|
||||||
|
|
Loading…
Reference in New Issue