fix: payment url display as link

This commit is contained in:
David Arnold 2023-09-16 21:18:57 +02:00
parent 099468e3cf
commit 7bc8ff21d4
No known key found for this signature in database
GPG Key ID: 0318D822BAC965CC

View File

@ -230,6 +230,28 @@
"fieldtype": "Read Only",
"label": "SWIFT Number"
},
{
"collapsible": 1,
"fieldname": "accounting_dimensions_section",
"fieldtype": "Section Break",
"label": "Accounting Dimensions"
},
{
"fieldname": "cost_center",
"fieldtype": "Link",
"label": "Cost Center",
"options": "Cost Center"
},
{
"fieldname": "dimension_col_break",
"fieldtype": "Column Break"
},
{
"fieldname": "project",
"fieldtype": "Link",
"label": "Project",
"options": "Project"
},
{
"depends_on": "eval: doc.payment_request_type == 'Inward'",
"fieldname": "recipient_and_message",
@ -246,7 +268,8 @@
"fieldname": "email_to",
"fieldtype": "Data",
"in_global_search": 1,
"label": "To"
"label": "To",
"options": "Email"
},
{
"depends_on": "eval: doc.payment_channel != \"Phone\"",
@ -317,9 +340,10 @@
},
{
"fieldname": "payment_url",
"fieldtype": "Small Text",
"hidden": 1,
"label": "payment_url",
"fieldtype": "Data",
"length": 500,
"options": "URL",
"read_only": 1
},
{
@ -343,6 +367,14 @@
"label": "Payment Account",
"read_only": 1
},
{
"fetch_from": "payment_gateway_account.payment_channel",
"fieldname": "payment_channel",
"fieldtype": "Select",
"label": "Payment Channel",
"options": "\nEmail\nPhone",
"read_only": 1
},
{
"fieldname": "payment_order",
"fieldtype": "Link",
@ -358,43 +390,13 @@
"options": "Payment Request",
"print_hide": 1,
"read_only": 1
},
{
"fetch_from": "payment_gateway_account.payment_channel",
"fieldname": "payment_channel",
"fieldtype": "Select",
"label": "Payment Channel",
"options": "\nEmail\nPhone",
"read_only": 1
},
{
"collapsible": 1,
"fieldname": "accounting_dimensions_section",
"fieldtype": "Section Break",
"label": "Accounting Dimensions"
},
{
"fieldname": "cost_center",
"fieldtype": "Link",
"label": "Cost Center",
"options": "Cost Center"
},
{
"fieldname": "dimension_col_break",
"fieldtype": "Column Break"
},
{
"fieldname": "project",
"fieldtype": "Link",
"label": "Project",
"options": "Project"
}
],
"in_create": 1,
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2022-12-21 16:56:40.115737",
"modified": "2023-09-16 14:15:02.510890",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Payment Request",