30 lines
1.2 KiB
TypeScript
30 lines
1.2 KiB
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, masterLabors, masterEquipments, masterMaterials }: 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}
|
|
masterLabors={masterLabors}
|
|
masterEquipments={masterEquipments}
|
|
masterMaterials={masterMaterials}
|
|
isEdit={false}
|
|
/>
|
|
</div>
|
|
</ProjectLayout>
|
|
);
|
|
}
|