mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
28 lines
975 B
TypeScript
28 lines
975 B
TypeScript
import TransferToLayingsTable from '@/components/pages/production/transfer-to-laying/TransferToLayingsTable';
|
|
import TransferToLayingFormModal from '@/components/pages/production/transfer-to-laying/TransferToLayingFormModal';
|
|
import TransferToLayingDetailModal from '@/components/pages/production/transfer-to-laying/TransferToLayingDetailModal';
|
|
import RequirePermission from '@/components/helper/RequirePermission';
|
|
|
|
const TransferToLaying = () => {
|
|
return (
|
|
<section className='w-full'>
|
|
<TransferToLayingsTable />
|
|
|
|
<RequirePermission
|
|
permissions={[
|
|
'lti.production.transfer_to_laying.create',
|
|
'lti.production.transfer_to_laying.update',
|
|
]}
|
|
>
|
|
<TransferToLayingFormModal />
|
|
</RequirePermission>
|
|
|
|
<RequirePermission permissions='lti.production.transfer_to_laying.detail'>
|
|
<TransferToLayingDetailModal />
|
|
</RequirePermission>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default TransferToLaying;
|