You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Unsure if this is the best approach, but it prevents automatic column hiding.
After clicking send button 2-3 times, empty filter request is being set which is hiding the columns.
Also why this red dot is coming on top?
Grammar Correction in Confirmation Message:
Fixed "sent" → "send" for better clarity in:
hx-confirm="{% trans 'Do you want to send the payslip by mail?' %}"
Fallback to Personal Email if Work Email is Absent:
Ensures that the employee's personal email is used if their work email is missing.
Updated method:
defget_mail(self):
""" Returns the employee's email, preferring the work info email if available. """work_info=getattr(self, "employee_work_info", None)
work_email=getattr(work_info, "email", None)
returnwork_emailifwork_emailisnotNoneelseself.email
wkhtmltopdf Requirement for PDF Generation:
Need to confirm whether wkhtmltopdf executable should be installed for generating PDF payslips.
Testing & Validation Steps:
Click "Send Mail" multiple times and verify that table columns remain visible.
Check that the fallback email logic works as expected.
Validate the grammar correction in the confirmation message.
Confirm if PDF generation works correctly after installing wkhtmltopdf.
The text was updated successfully, but these errors were encountered:
Fixed Issues:
GET /payroll/send-slip?id=1
resulted in a 302 redirect tofilter-slip
, .view=table
to the request to ensure the correct view state is maintained and columns remain visible.After clicking send button 2-3 times, empty filter request is being set which is hiding the columns.

Also why this red dot is coming on top?

wkhtmltopdf
executable should be installed for generating PDF payslips.Testing & Validation Steps:
wkhtmltopdf
.The text was updated successfully, but these errors were encountered: