mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
fix: auto-increment settings.
This commit is contained in:
@@ -223,6 +223,10 @@ const formatNumber = (balance, { noCents = false, divideOn1000 = false }) => {
|
||||
return formattedBalance + '';
|
||||
};
|
||||
|
||||
const isBlank = (value) => {
|
||||
return _.isEmpty(value) && !_.isNumber(value) || _.isNaN(value);
|
||||
}
|
||||
|
||||
export {
|
||||
hashPassword,
|
||||
origin,
|
||||
@@ -241,5 +245,6 @@ export {
|
||||
getDefinedOptions,
|
||||
entriesAmountDiff,
|
||||
convertEmptyStringToNull,
|
||||
formatNumber
|
||||
formatNumber,
|
||||
isBlank
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user