Added the code to handle the NaN and return null in the muster roll report section by yatmesh

This commit is contained in:
yatmesh
2025-11-25 15:13:05 +05:30
parent 2910ebdf83
commit 46cad058de
@@ -202,6 +202,10 @@ async def muster_roll_report_generate(
# "Direct Reporting": unique_reportees
# }
# report_data = unique_combos
##############
# Added by Yatmesh on 25 nov 15:08
report_data = report_data.where(report_data.notna(), None)
###################################
report_data = report_data.to_dict(orient = "records")
success = True