Salary
The Salary page calculates monthly pay for all guards based on attendance and advance deductions.
Calculation Method
text
per_day_rate = basic_salary / 30
absent_days = count of "Absent" status records for the month
deduction = absent_days × per_day_rate
gross = basic_salary (no deductions for Leave or Off days)
advance_rem = remaining advance balance (amount - recovered)
net_salary = max(0, gross - deduction - advance_rem)Usage
1. Go to Main > Salary. 2. Select a month and year. 3. The table displays each guard's:
- Basic salary
- Per-day rate
- Absent days count
- Deduction amount
- Advance recovery
- Net salary
Salary is read-only and calculated in real-time from attendance and advance data.