diff --git a/frontend-web-free/src/components/staff/StaffForm.jsx b/frontend-web-free/src/components/staff/StaffForm.jsx index 26c0608f..1cd086a5 100644 --- a/frontend-web-free/src/components/staff/StaffForm.jsx +++ b/frontend-web-free/src/components/staff/StaffForm.jsx @@ -14,35 +14,35 @@ export default function StaffForm({ staff, onSubmit, isSubmitting }) { employee_name: "", manager: "", contact_number: "", - phone: "", + //phone: "", email: "", // Added email field department: "", hub_location: "", - event_location: "", + //event_location: "", track: "", - address: "", - city: "", + //address: "", + //city: "", position: "", - position_2: "", - initial: "", + //position_2: "", + //initial: "", profile_type: "", employment_type: "", english: "", - english_required: false, - check_in: "", - replaced_by: "", - ro: "", - mon: "", - schedule_days: "", - invoiced: false, - action: "", + //english_required: false, + //check_in: "", + //replaced_by: "", + //ro: "", + //mon: "", + //schedule_days: "", + //invoiced: false, + //action: "", notes: "", - accounting_comments: "", + //accounting_comments: "", rating: 0, - shift_coverage_percentage: 100, - cancellation_count: 0, - no_show_count: 0, // Added no_show_count field - total_shifts: 0, + //shift_coverage_percentage: 100, + //cancellation_count: 0, + //no_show_count: 0, // Added no_show_count field + //total_shifts: 0, reliability_score: 100 }); @@ -81,7 +81,7 @@ export default function StaffForm({ staff, onSubmit, isSubmitting }) { /> -
+ {/*
-
+
*/}
@@ -103,7 +103,7 @@ export default function StaffForm({ staff, onSubmit, isSubmitting }) { />
-
+ {/*
-
+
*/}
@@ -121,9 +121,9 @@ export default function StaffForm({ staff, onSubmit, isSubmitting }) { - Skilled - Beginner - Cross-Trained + Skilled + Beginner + Cross-Trained
@@ -135,13 +135,13 @@ export default function StaffForm({ staff, onSubmit, isSubmitting }) { - Full Time - Part Time - On call - Weekends - Specific Days - Seasonal - Medical Leave + Full Time + Part Time + On call + Weekends + Specific Days + Seasonal + Medical Leave @@ -187,7 +187,7 @@ export default function StaffForm({ staff, onSubmit, isSubmitting }) { /> -
+ {/*
handleChange('phone', e.target.value)} className="border-slate-200" /> -
+
*/} @@ -234,7 +234,7 @@ export default function StaffForm({ staff, onSubmit, isSubmitting }) { /> -
+ {/*
handleChange('shift_coverage_percentage', parseInt(e.target.value) || 0)} className="border-slate-200" /> -
+
*/} -
+ {/*
handleChange('cancellation_count', parseInt(e.target.value) || 0)} className="border-slate-200" /> -
+
*/} {/* New No Show Count field */} -
+ {/*
handleChange('no_show_count', parseInt(e.target.value) || 0)} className="border-slate-200" /> -
+
*/} {/* End new No Show Count field */} -
+ {/*
handleChange('total_shifts', parseInt(e.target.value) || 0)} className="border-slate-200" /> -
+
*/} -
+ {/*
-
+
*/} @@ -314,19 +314,19 @@ export default function StaffForm({ staff, onSubmit, isSubmitting }) { - Operations - Sales + Operations + Sales HR - Finance + Finance IT - Marketing - Customer Service - Logistics + Marketing + Customer Service + Logistics -
+ {/*
-
+
*/}
@@ -347,7 +347,7 @@ export default function StaffForm({ staff, onSubmit, isSubmitting }) { />
-
+ {/*
handleChange('event_location', e.target.value)} className="border-slate-200" /> -
+
*/}
@@ -367,7 +367,7 @@ export default function StaffForm({ staff, onSubmit, isSubmitting }) { />
-
+ {/*