We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
Optionally add a flag to notify admin that there are users with no annual leave records
Sorry, something went wrong.
l = Leave.SICK d = 10 y = 2019 for item in StaffProfile.objects.exclude(annualleave__leave_type=l, annualleave__year=y): annual_leave = AnnualLeave(year=y, staff=item, allowed_days=d, leave_type=l) annual_leave.save() l = Leave.REGULAR d = 10 y = 2019 for item in StaffProfile.objects.exclude(annualleave__leave_type=l, annualleave__year=y): annual_leave = AnnualLeave(year=y, staff=item, allowed_days=d, leave_type=l) annual_leave.save()
No branches or pull requests
The text was updated successfully, but these errors were encountered: