mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
30 lines
825 B
TypeScript
30 lines
825 B
TypeScript
'use client';
|
|
|
|
import ClosingSapronakCalculationTable from '@/components/pages/closing/ClosingSapronakCalculationTable';
|
|
import { ClosingGeneralInformation } from '@/types/api/closing';
|
|
|
|
interface ClosingSapronakCalculationTabContentProps {
|
|
projectFlockId?: number;
|
|
closingGeneralInformation?: ClosingGeneralInformation;
|
|
}
|
|
|
|
const ClosingSapronakCalculationTabContent = ({
|
|
projectFlockId,
|
|
closingGeneralInformation,
|
|
}: ClosingSapronakCalculationTabContentProps) => {
|
|
return (
|
|
<div className='flex flex-col gap-4'>
|
|
{projectFlockId && (
|
|
<>
|
|
<ClosingSapronakCalculationTable
|
|
closingGeneralInformation={closingGeneralInformation}
|
|
projectFlockId={projectFlockId}
|
|
/>
|
|
</>
|
|
)}
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default ClosingSapronakCalculationTabContent;
|