From 91b49fe7d49c077e7fc0957e29968c73cb688297 Mon Sep 17 00:00:00 2001 From: Brody Wilton <brodywilton@192.168.1.227> Date: Fri, 1 Mar 2024 23:28:39 +0000 Subject: [PATCH] Add file for receipts generation --- myproject/myapp/receipts.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 myproject/myapp/receipts.py diff --git a/myproject/myapp/receipts.py b/myproject/myapp/receipts.py new file mode 100644 index 0000000..1194d56 --- /dev/null +++ b/myproject/myapp/receipts.py @@ -0,0 +1,8 @@ +# We want to generate receipts for user monthly billing. +# We want the function to accept a user +# It should return the user's username, blanked out details and cost +from fpdf import FPDF + +class PDF(FPDF): + pass # do nothing when it's executed + -- GitLab