Files
bigcapital/packages/webapp/src/containers/Dialogs/CustomerOpeningBalanceDialog/CustomerOpeningBalanceDialogContent.tsx
2023-02-03 01:02:31 +02:00

27 lines
659 B
TypeScript

// @ts-nocheck
import React from 'react';
import '@/style/pages/CustomerOpeningBalance/CustomerOpeningBalance.scss';
import CustomerOpeningBalanceForm from './CustomerOpeningBalanceForm';
import { CustomerOpeningBalanceFormProvider } from './CustomerOpeningBalanceFormProvider';
/**
* Customer opening balance dialog content.
* @returns
*/
export default function CustomerOpeningBalanceDialogContent({
// #ownProps
dialogName,
customerId,
}) {
return (
<CustomerOpeningBalanceFormProvider
customerId={customerId}
dialogName={dialogName}
>
<CustomerOpeningBalanceForm />
</CustomerOpeningBalanceFormProvider>
);
}