From 2910ebdf833a7aac777ed1fd90a2a97f32d1f0c5 Mon Sep 17 00:00:00 2001 From: yatmesh Date: Sat, 22 Nov 2025 17:47:18 +0530 Subject: [PATCH] Added the code to handle the NaN and return null in the in-out report section by yatmesh --- backend/api/blueprints/reports/in_out_report.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/api/blueprints/reports/in_out_report.py b/backend/api/blueprints/reports/in_out_report.py index d88450b..4cf0ea9 100644 --- a/backend/api/blueprints/reports/in_out_report.py +++ b/backend/api/blueprints/reports/in_out_report.py @@ -219,6 +219,10 @@ async def in_out_report_generate( else: success = True 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") # ┳┓