feat: Comprehensive employee management system improvements
- ✨ Added compact employee forms (add/edit) with all fields visible - 🎯 Implemented expandable employee rows with timesheet integration - 📊 Added real KPI calculation based on work hours, sick days, and overtime - 📅 Added bulk date selection and editing in calendar - 🗓️ Implemented day-specific editing modal with hours and overtime tracking - 💾 Extended database schema with overtimeHours field - 🎨 Improved UI layout: tabs left, search right, real current date display - 🧹 Fixed spacing issues and removed unnecessary gaps - 🔧 Enhanced GraphQL mutations for employee schedule management
This commit is contained in:
@ -795,6 +795,7 @@ export const typeDefs = gql`
|
||||
date: DateTime!
|
||||
status: ScheduleStatus!
|
||||
hoursWorked: Float
|
||||
overtimeHours: Float
|
||||
notes: String
|
||||
employee: Employee!
|
||||
createdAt: DateTime!
|
||||
@ -863,6 +864,7 @@ export const typeDefs = gql`
|
||||
date: DateTime!
|
||||
status: ScheduleStatus!
|
||||
hoursWorked: Float
|
||||
overtimeHours: Float
|
||||
notes: String
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user