Added the code to handle the NaN and return null in the in-out report section by yatmesh

This commit is contained in:
yatmesh
2025-11-22 17:47:18 +05:30
parent ee900eba1f
commit 2910ebdf83
@@ -219,6 +219,10 @@ async def in_out_report_generate(
else: else:
success = True success = True
report_df = cosec.read_in_out_summary_xls(report_path) report_df = cosec.read_in_out_summary_xls(report_path)
##############
#Added by Yatmesh on 22 nov 17:40
report_df = report_df.where(report_df.notna(),None)
###################################
report_data = report_df.to_dict(orient = "records") report_data = report_df.to_dict(orient = "records")
# ┳┓ # ┳┓