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:
parent
95e1510682
commit
ae39796579
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user