Files
bigcapital/packages/webapp/src/containers/Dialogs/ReconcileCreditNoteDialog/ReconcileCreditNoteForm.schema.tsx
2023-02-03 01:02:31 +02:00

14 lines
291 B
TypeScript

// @ts-nocheck
import * as Yup from 'yup';
const Schema = Yup.object().shape({
entries: Yup.array().of(
Yup.object().shape({
invoice_id: Yup.number().required(),
amount: Yup.number().nullable(),
}),
),
});
export const CreateReconcileCreditNoteFormSchema = Schema;