Month select karo aur sirf Present Days enter karo. Baaki calculation automatic hogi.
Paid Holiday = Present Days ÷ 6 ka poora hissa (rounded down), maximum Staff Master ki allowed limit.
Example: 20 Present par 3 leave, 30 Present par maximum 5 leave (agar allowed 5 hai).
Absent = Month Days − Present. Salary Days = Present + Paid Holiday − Absent.
Final Salary = Monthly Salary ÷ Month Days × Salary Days.
Advance = linked Staff Ledger ka signed balance. Final Balance = Final Salary − Advance.
Posting par Salary Expense debit aur har Staff Ledger full salary se credit hota hai.
Advance dobara post nahi hota.