mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
WIP / Feature & Fix Expense /Customer
This commit is contained in:
@@ -8,7 +8,7 @@ export const locale = {
|
||||
notType: ({ path, type, value, originalValue }) => {
|
||||
let isCast = originalValue != null && originalValue !== value;
|
||||
let msg =
|
||||
`${path} must beeeeee a \`${type}\` type, ` +
|
||||
`${path} must be a \`${type}\` type, ` +
|
||||
`but the final value was: \`${printValue(value, true)}\`` +
|
||||
(isCast
|
||||
? ` (cast from the value \`${printValue(originalValue, true)}\`).`
|
||||
|
||||
Reference in New Issue
Block a user