mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
Fix: receipt_number in edit mode
This commit is contained in:
@@ -9,6 +9,7 @@ const Schema = Yup.object().shape({
|
|||||||
.required()
|
.required()
|
||||||
.label(formatMessage({ id: 'receipt_date_' })),
|
.label(formatMessage({ id: 'receipt_date_' })),
|
||||||
receipt_number: Yup.string()
|
receipt_number: Yup.string()
|
||||||
|
.nullable()
|
||||||
.label(formatMessage({ id: 'receipt_no_' })),
|
.label(formatMessage({ id: 'receipt_no_' })),
|
||||||
deposit_account_id: Yup.number()
|
deposit_account_id: Yup.number()
|
||||||
.required()
|
.required()
|
||||||
@@ -48,7 +49,4 @@ const Schema = Yup.object().shape({
|
|||||||
const CreateReceiptFormSchema = Schema;
|
const CreateReceiptFormSchema = Schema;
|
||||||
const EditReceiptFormSchema = Schema;
|
const EditReceiptFormSchema = Schema;
|
||||||
|
|
||||||
export {
|
export { CreateReceiptFormSchema, EditReceiptFormSchema };
|
||||||
CreateReceiptFormSchema,
|
|
||||||
EditReceiptFormSchema
|
|
||||||
};
|
|
||||||
|
|||||||
Reference in New Issue
Block a user