Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -90,7 +90,7 @@ def process_rental_company_with_voucher(uploaded_file_path, voucher_number):
|
|
| 90 |
os.makedirs(cfg.OUTPUT_DIR, exist_ok=True)
|
| 91 |
|
| 92 |
# ⭐ 반드시 result_df 저장
|
| 93 |
-
result_df.to_excel(output_path, index=False, engine="openpyxl")
|
| 94 |
|
| 95 |
return output_path
|
| 96 |
|
|
|
|
| 90 |
os.makedirs(cfg.OUTPUT_DIR, exist_ok=True)
|
| 91 |
|
| 92 |
# ⭐ 반드시 result_df 저장
|
| 93 |
+
result_df.to_excel(output_path, index=False, engine="openpyxl", startrow=cfg.ERP_DATA_ROW_START - 1)
|
| 94 |
|
| 95 |
return output_path
|
| 96 |
|