16 lines
No EOL
444 B
Python
16 lines
No EOL
444 B
Python
from reportlab.lib.pagesizes import letter
|
|
from reportlab.lib.units import inch
|
|
from reportlab.platypus import SimpleDocTemplate
|
|
|
|
|
|
class SimpleInvoice(SimpleDocTemplate):
|
|
def __init__(self, invoice_path):
|
|
SimpleDocTemplate.__init__(
|
|
self,
|
|
invoice_path,
|
|
pagesize=letter,
|
|
rightMargin=inch,
|
|
leftMargin=inch,
|
|
topMargin=inch,
|
|
bottomMargin=inch
|
|
) |