changes
This commit is contained in:
@@ -28,10 +28,16 @@
|
||||
confirm="Are you sure you want to void this transaction? This reverses the payment before settlement and cannot be undone. Only works same-day before closeout (6 PM)."/>
|
||||
</xpath>
|
||||
|
||||
<!-- Add voided fields to the form sheet -->
|
||||
<!-- Add Poynt fields and linked records after provider_reference -->
|
||||
<xpath expr="//field[@name='provider_reference']" position="after">
|
||||
<field name="poynt_voided" invisible="1"/>
|
||||
<field name="poynt_void_date" invisible="not poynt_voided"/>
|
||||
<field name="poynt_order_id" invisible="provider_code != 'poynt'" readonly="1"/>
|
||||
<field name="poynt_transaction_id" invisible="provider_code != 'poynt'" readonly="1"/>
|
||||
<field name="sale_order_ids" widget="many2many_tags" readonly="1"
|
||||
string="Sale Orders"/>
|
||||
<field name="invoice_ids" widget="many2many_tags" readonly="1"
|
||||
string="Invoices"/>
|
||||
</xpath>
|
||||
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user