feat: wip invoice customizer

This commit is contained in:
Ahmed Bouhuolia
2024-09-07 21:39:05 +02:00
parent 6d24474162
commit e6bad27771
23 changed files with 648 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
// @ts-nocheck
import React from 'react';
import * as R from 'ramda';
import { Drawer, DrawerSuspense } from '@/components';
import withDrawers from '@/containers/Drawer/withDrawers';
const InvoiceCustomizeContent = React.lazy(
() => import('./InvoiceCustomizeContent'),
);
/**
* Refund credit note detail.
* @returns
*/
function InvoiceCustomizeDrawerRoot({
name,
// #withDrawer
isOpen,
payload: {},
}) {
return (
<Drawer
isOpen={isOpen}
name={name}
size={'100%'}
>
<DrawerSuspense>
<InvoiceCustomizeContent />
</DrawerSuspense>
</Drawer>
);
}
export const InvoiceCustomizeDrawer = R.compose(withDrawers())(
InvoiceCustomizeDrawerRoot,
);