Update app.py
Browse files
app.py
CHANGED
@@ -396,7 +396,7 @@ def create_word_report():
|
|
396 |
|
397 |
|
398 |
# Lưu file Word
|
399 |
-
report_title = f"Bao_cao_Ty_Gia_va_Lai_Suat_Tuan_{
|
400 |
output_path = os.path.join(REPORT_FOLDER, report_title)
|
401 |
doc.save(output_path)
|
402 |
return output_path
|
|
|
396 |
|
397 |
|
398 |
# Lưu file Word
|
399 |
+
report_title = f"Bao_cao_Ty_Gia_va_Lai_Suat_Tuan_{data_test3.index.max().strftime('%d/%m/%Y')}.docx"
|
400 |
output_path = os.path.join(REPORT_FOLDER, report_title)
|
401 |
doc.save(output_path)
|
402 |
return output_path
|