24 lines
970 B
TypeScript
24 lines
970 B
TypeScript
import React from 'react';
|
|
import { Head } from '@inertiajs/react';
|
|
import ProjectLayout from '../../../../ProjectManagement/resources/js/Layouts/ProjectLayout';
|
|
import ReportForm from './Partials/ReportForm';
|
|
import { FileText } from 'lucide-react';
|
|
|
|
export default function Create({ project }: any) {
|
|
return (
|
|
<ProjectLayout project={project} currentTab="daily-reports">
|
|
<div className="mb-6">
|
|
<div className="flex items-center gap-2 mb-2">
|
|
<FileText className="h-6 w-6 text-gray-500" />
|
|
<h2 className="text-2xl font-bold tracking-tight text-gray-900">Create Daily Report</h2>
|
|
</div>
|
|
<p className="text-sm text-gray-500">Record today's site activities, manpower, and conditions.</p>
|
|
</div>
|
|
|
|
<div className="pb-10">
|
|
<ReportForm project={project} isEdit={false} />
|
|
</div>
|
|
</ProjectLayout>
|
|
);
|
|
}
|