Skip to content

Commit

Permalink
Merge pull request #41959 from hiteshprajapati/bug-Don't_allow_negati…
Browse files Browse the repository at this point in the history
…ve_amount_on_Payment_Request

fix: Don't allow negative amount on Payment Request #41905
  • Loading branch information
ruthra-kumar authored Jul 19, 2024
2 parents f44de67 + b823aa6 commit 930ecb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions erpnext/accounts/doctype/payment_request/payment_request.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
"fieldname": "grand_total",
"fieldtype": "Currency",
"label": "Amount",
"non_negative": 1,
"options": "currency"
},
{
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -443,4 +444,4 @@
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
}

0 comments on commit 930ecb3

Please sign in to comment.