'use client';

import ClosingIncomingSapronaksTable from '@/components/pages/closing/ClosingIncomingSapronaksTable';
import ClosingOutgoingSapronaksTable from '@/components/pages/closing/ClosingOutgoingSapronaksTable';
import ClosingSapronakCalculationTable from '@/components/pages/closing/ClosingSapronakCalculationTable';

interface ClosingSapronakCalculationTabContentProps {
  projectFlockId?: number;
}

const ClosingSapronakCalculationTabContent = ({
  projectFlockId,
}: ClosingSapronakCalculationTabContentProps) => {
  return (
    <div className='flex flex-col gap-4'>
      {projectFlockId && (
        <>
          <ClosingSapronakCalculationTable projectFlockId={projectFlockId} />
        </>
      )}
    </div>
  );
};

export default ClosingSapronakCalculationTabContent;
