2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +00:00

fix typo, remove extra (

This commit is contained in:
Ankit Singhaniya 2021-11-01 23:55:59 +05:30 committed by GitHub
parent 95e1510682
commit ae39796579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ module.exports = {
validate(value, doc) {
const amount = doc.getSum('for', 'amount');
if (value > amount)) {
if (value > amount) {
throw new frappe.errors.ValidationError(
frappe._(
`Payment amount cannot exceed ${frappe.format(