From b823aa66bf95821a9b569c891a71085493c3ac49 Mon Sep 17 00:00:00 2001 From: hiteshprajapati Date: Thu, 20 Jun 2024 14:11:18 +0530 Subject: [PATCH] fix: Don't allow negative amount on Payment Request #41905 --- .../accounts/doctype/payment_request/payment_request.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/doctype/payment_request/payment_request.json b/erpnext/accounts/doctype/payment_request/payment_request.json index b89cca270e04..ccd8b150aff5 100644 --- a/erpnext/accounts/doctype/payment_request/payment_request.json +++ b/erpnext/accounts/doctype/payment_request/payment_request.json @@ -145,6 +145,7 @@ "fieldname": "grand_total", "fieldtype": "Currency", "label": "Amount", + "non_negative": 1, "options": "currency" }, { @@ -405,7 +406,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-03-27 13:10:11.120742", + "modified": "2024-06-20 13:54:55.245774", "modified_by": "Administrator", "module": "Accounts", "name": "Payment Request", @@ -443,4 +444,4 @@ "sort_field": "creation", "sort_order": "DESC", "states": [] -} \ No newline at end of file +}