Commit 5364ccf1 by chrisndodge

Merge pull request #6755 from edx/muhhshoaib/removing-extra-condition-from-pdf-file

removed the is_invoice condition from the pdf file
parents b9b5e05d 2c1676f2
...@@ -391,9 +391,9 @@ class PDFInvoice(object): ...@@ -391,9 +391,9 @@ class PDFInvoice(object):
# NOTE: since we are not printing the TaxID for Credit Card # NOTE: since we are not printing the TaxID for Credit Card
# based receipts, we need to change the cell range for # based receipts, we need to change the cell range for
# these formatting rules # these formatting rules
('RIGHTPADDING', (-1, 0), (-1, -2 if self.is_invoice else -1), 7 * mm), ('RIGHTPADDING', (-1, 0), (-1, 2), 7 * mm),
('GRID', (-1, 0), (-1, -2 if self.is_invoice else -1), 3.0, colors.white), ('GRID', (-1, 0), (-1, 2), 3.0, colors.white),
('BACKGROUND', (-1, 0), (-1, -2 if self.is_invoice else -1), '#EEEEEE'), ('BACKGROUND', (-1, 0), (-1, 2), '#EEEEEE'),
] ]
totals_table.setStyle(TableStyle(styles)) totals_table.setStyle(TableStyle(styles))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment