BTWorkforce Documentation
Complete documentation for the BTWorkforce HR & Payroll Management System.
1. System Introduction
BTWorkforce is an awesome, modern HR & Payroll management system built with cutting-edge technology. It provides a complete solution for organizations to manage their workforce efficiently with multiple salary structures.
⚡ Lightning Fast
Built with modern PHP for blazing performance
📱 Fully Responsive
Access from any device, anywhere
� Secure & Reliable
Enterprise-grade security for your data
🎯 Smart Automation
Automate attendance, payroll & more
2. User Roles & Access Structure
BTWorkforce has a hierarchical role structure with 4 levels:
| Feature | Super Admin | Company Admin | HR Manager | Employee |
|---|---|---|---|---|
| Company Management | ✓ | Own Only | ✗ | ✗ |
| Employee CRUD | ✓ | ✓ | Add/Edit Only | ✗ |
| Attendance Management | ✓ | ✓ | ✓ | Own Only |
| Payroll Generation | ✓ | ✓ | ✓ | ✗ |
| Payroll Approval | ✓ | ✓ | ✗ | ✗ |
| Production Management | ✓ | ✓ | ✓ | ✗ |
| All Reports | ✓ | ✓ | View Only | Own Only |
3. Modules Overview
👥 Employee Management
Complete employee lifecycle management with 3 salary types
📅 Attendance Tracking
Multiple views: List, Khata, Calendar, Summary
💰 Payroll Management
Automated salary processing with workflow approval
⚙️ Production Worker
Track daily production and calculate earnings
📊 Reports & Analytics
Comprehensive reports with PDF and CSV export
🔐 User Management
Role-based access control with 4 roles
4. Employee Management Module
4.1 Overview
The Employee Management module handles all employee-related operations including adding, viewing, editing, and managing employee records with different salary types.
4.2 Features
- Employee CRUD - Create, view, edit, delete employees
- 3 Salary Types - Monthly, Hourly, Production Worker
- Department & Designation - Organizational structure
- Employee Profile - Complete details with documents
- Status Tracking - Active/Inactive employees
4.3 Salary Types
Monthly Salary
Fixed monthly compensation calculated based on working days. Overtime applicable.
Net = Basic + Overtime + Bonus + Allowances - Deductions
Hourly Wage
Pay based on hours worked. Overtime at 1.5x rate.
Net = (Hourly Rate × Hours) + Overtime + Bonus + Allowances - Deductions
Production Worker
Base salary (Monthly/Hourly) + Production earnings
Net = Base + Production Earnings + Bonus + Allowances - Deductions
4.4 User Roles Access
| Action | Super Admin | Company Admin | HR Manager | Employee |
|---|---|---|---|---|
| Create | ✓ | ✓ | ✓ | ✗ |
| Edit | ✓ | ✓ | ✓ | ✗ |
| Delete | ✓ | ✓ | ✗ | ✗ |
| View | ✓ | ✓ | ✓ | Own only |
5. Attendance Tracking Module
5.1 Overview
The Attendance Tracking module monitors employee attendance, working hours, overtime, and provides multiple views for different needs.
5.2 Attendance Views
📋 List View
Table with Date, Employee, Check In/Out, Hours, Status
📊 Khata View
Matrix view - Employee names as rows, dates as columns
📅 Calendar View
Monthly calendar with attendance dots
📈 Summary View
Employee-wise monthly summary with totals
5.3 Status Types
- Present - Full day present
- Late - Arrived late but marked present
- Absent - Did not mark attendance
- Half Day - Worked half day
- Early Exit - Left before end of shift
5.4 Overtime Calculation
Hours beyond shift duration = Overtime
5.5 Features
- Manual attendance entry
- Auto-processing from device logs
- Weekend & Holiday handling
- Color-coded status display
- Export to PDF/CSV
6. Payroll Management Module
6.1 Overview
The Payroll Management module handles salary calculation, processing, approval, and payment tracking for all employees.
6.2 Payroll Workflow
Generate
Review
Manager
Payment
6.3 Payroll Actions
- Process - Draft → Processed (Validates calculations, locks payroll)
- Approve - Processed → Approved (Manager reviews, cannot edit after)
- Mark as Paid - Approved → Paid (Records payment method & transaction ID)
6.4 Payment Methods
🏦 Bank Transfer
Direct to employee bank account
💵 Cash
Physical cash payment
📝 Cheque
Cheque payment with cheque number
💳 Online Payment
UPI/NEFT/RTGS transfer
6.5 Payroll Adjustments
Bonus Types
- Festival Bonus
- Performance Bonus
- Attendance Bonus
- Other
Allowance Types
- Transport Allowance
- Food Allowance
- House Rent Allowance
- Medical Allowance
- Other
Deduction Types
- Late Arrival Deduction
- Absent Deduction
- Tax Deduction
- Other Deductions
6.6 Payslip Generation
PDF payslip includes:
- Employee details
- Salary breakdown
- Overtime details
- Production earnings (for production workers)
- Bonuses & Allowances itemized
- Deductions itemized
- Net salary
- Payment Mode & Transaction ID (if paid)
7. Production Worker Module
7.1 Overview
The Production Worker module manages production items, tracks daily production logs, and calculates earnings for workers paid based on output.
7.2 Production Items
Define items that can be produced with rates:
- Item Name - e.g., "Shirt", "Pant", "Piece"
- Unit - e.g., piece, kg, meter
- Rate per Unit - ₹
- Status - Active/Inactive
7.3 Production Logs
Record daily production by workers:
- Employee (Production Worker type)
- Production Item
- Work Date
- Quantity Produced
- Rate (auto-filled from item)
- Total Amount (auto-calculated)
- Notes
7.4 Salary Calculation
Production Worker Formula
Total Salary = Base Salary + Production Earnings + Bonuses + Allowances - Deductions
Production Earnings = Σ (Quantity × Rate) for each item
7.5 Example
- Base Salary (Monthly): ₹10,000
- Shirts: 100 pieces × ₹50 = ₹5,000
- Pants: 50 pieces × ₹80 = ₹4,000
- Total Production: ₹9,000
- Bonus: ₹500
- Allowances: ₹1,000
- Total = ₹10,000 + ₹9,000 + ₹500 + ₹1,000 = ₹20,500
8. Reports Module
8.1 Available Reports
📅 Attendance Report
Present, absent, late days with date range filter
💰 Payroll Report
Salary breakdown by employee with totals
⏰ Overtime Report
Overtime hours and amount by employee
👥 Employee Report
Employee list with department and status
⚙️ Production Report
Production logs with earnings summary
8.2 Export Options
- PDF - For printing/sharing
- CSV - For Excel/data analysis
8.3 Filters
- Date Range (Start/End)
- Company (Super Admin only)
- Employee (optional)
- Department (where applicable)
- Status (Active/Inactive)
- Salary Type
9. User Management Module
9.1 User Roles
👑 Super Admin
System Administrator - Full access to all companies
🏢 Company Admin
Company Manager - Full access to own company
👨💼 HR Manager
HR Staff - Limited management access
👤 Employee
Staff Member - Self-service only
9.2 Authentication
- Login - Email + Password
- Registration - By invitation only
- Password Reset - Email with reset link
9.3 Dashboard Views
Each role sees different dashboards:
- Super Admin - All companies overview, total stats
- Company Admin - Company statistics, monthly summary
- HR Manager - Team attendance, pending approvals
- Employee - My attendance, My payslips
10. Biometric Integration
10.1 Overview
BTWorkforce supports integration with ZKTeco biometric attendance devices for automatic attendance tracking. This feature is available in the Professional plan.
10.2 Supported Devices
🖐️ Fingerprint Scanners
ZKTeco series devices with fingerprint recognition
📷 Face Recognition
Face ID devices for contactless attendance
💳 RFID Card Readers
Proximity cards and RFID badges
🔐 Multi-Biometric
Devices supporting multiple authentication methods
10.3 Features
- Real-time Sync - Automatic attendance data sync
- Auto Check-in/Check-out - Records in/out automatically
- IP Configuration - Static IP setup for devices
- Port Configuration - Default port 4370
- Device Management - Add/Edit/Remove devices
- Connection Status - Monitor device online/offline
10.4 Configuration Steps
- Go to Settings → Device Configuration
- Click Add New Device
- Enter device details:
- Device Name
- IP Address
- Port (default: 4370)
- Company
- Click Save
- Test connection
10.5 Device Letter Generation
Generate official configuration letters for IT teams to set up devices:
- Network configuration requirements
- Server details
- IP and port specifications
- Authorization for technicians
10.6 Troubleshooting
❌ Device Offline
Check network connectivity and IP address
❌ Data Not Syncing
Verify port 4370 is open in firewall
❌ Wrong Time Records
Sync device time with server
❌ Duplicate Records
Check device logs and clear if needed