diff --git a/src/components/JobForm.tsx b/src/components/JobForm.tsx index b270534..127622f 100644 --- a/src/components/JobForm.tsx +++ b/src/components/JobForm.tsx @@ -58,8 +58,8 @@ const JobForm: React.FC = ({ job, onSubmit, onCancel }) => { projectedRevenue: revenue })); - // Parse BOM starting from line 4 (after empty line) - const bomLines = lines.slice(4); // Skip first 3 lines and empty line + // Parse BOM - everything after the first 3 lines is BOM + const bomLines = lines.slice(3); // Start from line 4 (index 3) const billOfMaterials: { name: string; quantity: number }[] = []; for (const line of bomLines) {