fix: Don't allow negative amount on Payment Request #41905

(cherry picked from commit b823aa66bf)

# Conflicts:
#	erpnext/accounts/doctype/payment_request/payment_request.json
This commit is contained in:
hiteshprajapati
2024-06-20 14:11:18 +05:30
committed by Mergify
parent 307dcea097
commit aee2cc2e03

View File

@@ -144,6 +144,7 @@
"fieldname": "grand_total", "fieldname": "grand_total",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Amount", "label": "Amount",
"non_negative": 1,
"options": "currency" "options": "currency"
}, },
{ {
@@ -395,7 +396,11 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
<<<<<<< HEAD
"modified": "2023-09-27 09:51:42.277638", "modified": "2023-09-27 09:51:42.277638",
=======
"modified": "2024-06-20 13:54:55.245774",
>>>>>>> b823aa66bf (fix: Don't allow negative amount on Payment Request #41905)
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Payment Request", "name": "Payment Request",