Skip to content

Commit

Permalink
Merge pull request #27 from pennlabs/add-supplier-filename
Browse files Browse the repository at this point in the history
Add supplier to attachment filename
  • Loading branch information
Clue88 authored Feb 2, 2024
2 parents 928505a + 30ec131 commit c3feb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expensabot.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def send_report(doc_stream, receipt_stream, data, is_test=False):
doc_stream.read(),
maintype="application",
subtype="vnd.openxmlformats-officedocument.wordprocessingml.document",
filename="Expense (Receipt Attached).docx",
filename=f"{data['supplier']} Expense Report (Receipt Attached).docx",
)

r, t = receipt_stream
Expand Down

0 comments on commit c3feb47

Please sign in to comment.