minor changes added
This commit is contained in:
parent
8cdc91354a
commit
8bf34fa5e2
@ -230,7 +230,7 @@ export function DealerCompletionDocumentsModal({
|
|||||||
const hasDescription = completionDescription.trim().length > 0;
|
const hasDescription = completionDescription.trim().length > 0;
|
||||||
|
|
||||||
const hasValidExpenseItems = expenseItems.length > 0 &&
|
const hasValidExpenseItems = expenseItems.length > 0 &&
|
||||||
expenseItems.every(item => item.description.trim() !== '' && item.amount >= 0);
|
expenseItems.every(item => item.description.trim() !== '' && item.amount > 0);
|
||||||
|
|
||||||
const hasHSNSACErrors = isNonGst ? false : expenseItems.some(item => {
|
const hasHSNSACErrors = isNonGst ? false : expenseItems.some(item => {
|
||||||
const { isValid } = validateHSNSAC(item.hsnCode, item.isService);
|
const { isValid } = validateHSNSAC(item.hsnCode, item.isService);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user