chore: remove payments section from webform doctype
This commit is contained in:
parent
5c2cfdd1e9
commit
6c75787d40
1 changed files with 0 additions and 56 deletions
|
|
@ -233,62 +233,6 @@
|
|||
"fieldtype": "Check",
|
||||
"label": "Show Sidebar"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "accept_payment",
|
||||
"fieldtype": "Check",
|
||||
"label": "Accept Payment"
|
||||
},
|
||||
{
|
||||
"depends_on": "accept_payment",
|
||||
"fieldname": "payment_gateway",
|
||||
"fieldtype": "Link",
|
||||
"label": "Payment Gateway",
|
||||
"options": "Payment Gateway"
|
||||
},
|
||||
{
|
||||
"default": "Buy Now",
|
||||
"depends_on": "accept_payment",
|
||||
"fieldname": "payment_button_label",
|
||||
"fieldtype": "Data",
|
||||
"label": "Button Label"
|
||||
},
|
||||
{
|
||||
"depends_on": "accept_payment",
|
||||
"fieldname": "payment_button_help",
|
||||
"fieldtype": "Text",
|
||||
"label": "Button Help"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_28",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"depends_on": "accept_payment",
|
||||
"fieldname": "amount_based_on_field",
|
||||
"fieldtype": "Check",
|
||||
"label": "Amount Based On Field"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.accept_payment && doc.amount_based_on_field",
|
||||
"fieldname": "amount_field",
|
||||
"fieldtype": "Select",
|
||||
"label": "Amount Field"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.accept_payment && !doc.amount_based_on_field",
|
||||
"fieldname": "amount",
|
||||
"fieldtype": "Currency",
|
||||
"label": "Amount"
|
||||
},
|
||||
{
|
||||
"depends_on": "accept_payment",
|
||||
"fieldname": "currency",
|
||||
"fieldtype": "Link",
|
||||
"label": "Currency",
|
||||
"options": "Currency"
|
||||
},
|
||||
{
|
||||
"description": "List as [{\"label\": _(\"Jobs\"), \"route\":\"jobs\"}]",
|
||||
"fieldname": "breadcrumbs",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue