From 2c1676f2ee3b8eead60edb1e6dcee89e10ab39bc Mon Sep 17 00:00:00 2001 From: Muhammad Shoaib Date: Mon, 26 Jan 2015 12:56:31 +0500 Subject: [PATCH] removed the is_invoice condition from the pdf file --- lms/djangoapps/shoppingcart/pdf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lms/djangoapps/shoppingcart/pdf.py b/lms/djangoapps/shoppingcart/pdf.py index 6e54188cdc..802ac78dc3 100644 --- a/lms/djangoapps/shoppingcart/pdf.py +++ b/lms/djangoapps/shoppingcart/pdf.py @@ -391,9 +391,9 @@ class PDFInvoice(object): # NOTE: since we are not printing the TaxID for Credit Card # based receipts, we need to change the cell range for # these formatting rules - ('RIGHTPADDING', (-1, 0), (-1, -2 if self.is_invoice else -1), 7 * mm), - ('GRID', (-1, 0), (-1, -2 if self.is_invoice else -1), 3.0, colors.white), - ('BACKGROUND', (-1, 0), (-1, -2 if self.is_invoice else -1), '#EEEEEE'), + ('RIGHTPADDING', (-1, 0), (-1, 2), 7 * mm), + ('GRID', (-1, 0), (-1, 2), 3.0, colors.white), + ('BACKGROUND', (-1, 0), (-1, 2), '#EEEEEE'), ] totals_table.setStyle(TableStyle(styles))